how to turn an image into a link in Wordpress

How to Turn an Image into a Link in WordPress (with video) – Make Your Links with Style!

If you’ve navigated any popular website you’d agree that the internet is nothing without its links. Links are a great way to connect your readers to more relevant content. But, do you know how to turn an image into a link in WordPress?

Having the right balance of internal, external, and backlinks can help you rank high in Google searches. Similarly, using relevant images can create a better user experience to bring you more traffic.

In this article (and video), I’m going to show you how you can combine these two SEO techniques into one. Understanding how to turn an image into a link in WordPress is easy. With this tutorial you’ll not only master it, but you’ll understand the different options WordPress gives you while doing it.

how to turn an image into a link in WordPress

How to Turn an Image into a Link in WordPress

Watch the following short video to see how to turn an image into a link in WordPress with ease. I’ll show you the options WordPress gives you to choose from and what choosing each one means. You’ll be making your images clickable in WordPress in no time.

From the WordPress post editor go to the image you’d like to turn into a link and click on it. Next, click “edit". This opens the Image Details window where you can add a caption, alt text, & edit the image’s alignment and display size.

What we’re going to concentrate on is the “Link to" pull down menu. Clicking on this gives us 3 options: Media File, Attachment Page, & Custom URL. Let’s see what each option means for us as we learn how to turn an image into a link in WordPress.

How to Turn an Image into a Link in WordPress: Media File Option

Turning your image into a media file link can give the reader a more detailed look at your image. Let’s say you’d like your reader to be able to click on a thumbnail to see it full size. This would be a great option to use.

It’s very easy. You simply click on the Media File option in the display settings window and the url to the media file is automatically set. Save and update and you’re done! Now when your image is clicked, the reader will be taken to the image’s media file.

how to turn an image into a link in WordPress

How to Turn an Image Into a Link in WordPress: Attachment Page Option

How to Turn an Image into a Link in WordPress

The Attachment Page option is the least used option of the three. Most people learning how to turn an image into a link in WordPress aren’t looking to take their readers to an attachment page.

When you select the Attachment Page option, the link will take your reader to a page dedicated to the image.

It’s no different than if you created a page on your website and placed only the image on that page. As seen in the video, clicking on the image on this Attachment Page will take you to its media file.

How to Turn an Image Into a Link in WordPress: Custom URL Option

Most people want to learn how to turn an image into a link in WordPress so they can direct the reader to another url. The Custom URL option is another way to create internal and external links without using common anchor text links. Simply enter the url you’d like to direct the reader to, save, and you’re done.

How to Turn an Image into a Link in WordPress

If you’ve written a past article on embedding youtube videos into a blog post, for example, and you have an image in your current article with the YouTube logo in it, you might consider linking to that post using this option. You’ve now made a picture into a url link like a pro.

Also note that with any of these 3 options you can choose to open the link in a new window. Simply open the Advanced Options when choosing between Media File, Attachment Page, or Custom URL. Click the “open link in a new window" box and you’re set. This option is great because it doesn’t take your reader completely away from your content. Click on any of the links in this article and you’ll see an example of how that works.


Understanding how to turn an image into a link in WordPress is a great way to have more options when writing blog posts. If you have a travel blog or a blog featuring your photography, you can give the user a great detailed look at your photography without having to embed full size images into the post itself. You can also link them directly to another related post through the image itself.

Building your site right is a process. You need to build on the right platform and understand what your target audience is searching for by choosing the right keyword research tool. Optimizing your images for site speed and understanding how to engage your readers is key.

As always, if your focus is creating a great user experience for your reader, your posts will get the traffic they deserve. And with traffic comes the opportunity for real revenue.

If building revenue from your website is something you’d like to make a reality, I suggest you take a good look at the online community where I got my training. Watch real traffic build as you surround yourself with likeminded individuals looking to help and support you along with the best training I’ve found online. Create your free account and start now!

how to turn an image into a link in WordPress


Has this article helped you to better understand how to turn an image into a link in WordPress? Which of the 3 options are you leaning towards using? Leave any questions and comments you have in the comments below and I’ll be glad to answer them. Helping people build websites and build an online business around their passion is what I enjoy doing. Don’t hesitate to reach out. I’m always happy to offer any insight I can.


  • Neil says:

    I’ve recently started out as WordPress blogger and need all the help I can get, especially when it comes to adding images and links within my blog posts. To some bloggers, it’s a very simple process, but when you’re just starting out with WordPress, it can feel a bit overwhelming. But I will get to grips with the CMS platform, one step at a time. 🙂

    After watching your video as well following the steps outlines on this page, it seems that turning images into links is a simple process afterall. In fact, it looks like child’s play. For me personally, my favorite method is definitely the custom URL option.I love all 3 options, but the last one seems the easiest to implement into my own WordPress blog posts.

    Thanks for the tutorial. 🙂

    • Eric Cantu says:

      You and me are on the same page, brother. While I don’t use it nearly as often as text links, if I am turning an image into a link in WordPress it’s to link to a URL, or occasionally to link to the media file to show detail in a photograph. I travel all the time so sometimes I’ll do that.

      Like you said, it’s really easy once you know how to do it 🙂 Thanks for the insight!

  • Andrew says:

    This is the very information that I was looking for about images and links! WordPress can do the task but it’s a matter of finding it and you can’t always know where to look. Thank you so much for this! I’m going to look into your other post about optimizing images! Thank you! 

  • fernglow says:

    Hi Eric! I was looking for this as I myself own a wordpress blog. Hence, really glad I found your site! Looking back, I look kind of dumb since it was infront of my face the entire time!
    Anyways, what do you reckon I could do about getting more traffic to my site? Do certain types of images help?

  • Israel says:

    Hi Eric!

    I’m always struggling when having to choose images for my blog and also when customizing them for the specific articles.

    I actually didn’t know the difference between the attachment page option and Custom URL, so I’ve never used these features. It’s crystal clear now.

    Thanks so much for sharing this info!

    • Eric Cantu says:

      Glad to help out, Israel. Yeah, the attachment page option is a bit obsolete and I can’t really think of a reason for creating an image link like that in WordPress, however the custom URL is what most people are always looking to create, and as you can see, it’s very easy to do.

      Thanks again for the comment!

  • John B says:

    Thank you Eric for this post! I’ve been looking for a simple video tutorial like this for a while! Thanks! I’m actually interested in your training platform you mentioned. Have you been on it long? Did it really help?

  • Emeolu says:

    This is an informative article. I have been struggling with adding a link to image. Now I can do that with the instruction I get from your article. You are absolutely correct that internal link, backlink, and external link aid in your Google ranking. Image is one of the most effective way to get traffic.

  • Penny says:

    AS a relative newbie to all things blogging, I’m amazed at the depth of detail there is to learn. Thanks for sharing this new way to improve my SEO and make my images more interesting and functional!

    • Eric Cantu says:

      Every little bit helps, right? I’m glad this was helpful to you. It’s definitely a great way to change it up when it comes to our links. Thanks for the comment!

  • Laurel says:

    Thanks for the tutorial, I always put ugly links underneath my images. How do those link shorteners work anyway, such a mystery!

    • Eric Cantu says:

      Hey laurel! With the way we can hide the actual url behind anchor text I’ve never really seen that need to hide an ugly url behind an image, but I see what you mean. You can also use plugins like pretty link to shorten those long urls as well. I think the great thing here is learning how to use another tool in your tool belt, right? Glad to have helped out 🙂

  • Roopesh says:

    It is interesting to see that an option exists to link an image to an attachment page.

    Glad though, I learned through your helpful article how to turn my image into a link. I wanted the image to link to another an authority site using the Custom URL option.

    Do you recommend that I use the pretty link plugin to link my image if the url is long and “ugly”? Does it make for better SEO?

    Thanks for all the help

    • Eric Cantu says:

      Hey Roopesh! If you’re in the very profitable world of affilate marketing and the url you’re linking to is one of your affiliate links, it’d probably be smart to use the pretty link plugin. I’m familiar with it and I use it all the time for my affiliate links. But if it’s not an affiliate link and just an external link to another site, I wouldn’t worry about it. Glad this helped you! I appreciate the comment!

Leave a Reply

Your email address will not be published. Required fields are marked *