How to Attach a Link to an Image in WordPress
Last modified: May 2, 2022
Images are very powerful elements on your website. They can help to convert audiences and an image is worth 1000 words on a website. Images can also become ‘call to actions’ with a simple click action that allows the customer to visit another page. This could be for the customer to visit an internal page or an external page. In this article, we look at how to attach a link to an image in WordPress.
* This button will show the rest of the post and open up an offer from a vendor
Why Attach a Link to an Image in WordPress?
There are numerous reasons why you might want to attach a link to an image in WordPress. One simple reason is that you want people to be able to click on an image and then be taken to an internal page or another page on the internet.
This can be important on elements such as banners, sliders or something simple. In some cases, like Revolution Slider, the image can be automatically assigned a link that allows you to upload an image and have it associated with a certain link.
However, there are going to be some examples when you will want to customize your link on a main page or post.
Or you might want to add advertising on your website and want to offer a manual service.
Attaching a Link to an Image in WordPress
There are simple ways that you can attach a link to an image in WordPress. Here are the simple steps.
Step 1: Upload New Image
When you’re uploading a new image to your WordPress website, upload the image as you would normally. Once it has been added to your media library, look to the right on the screen. This is where all the meta-information is on the image.
Step 2: Attachment Display Settings
Towards the lower part of the right-hand side options should be a list called ‘Attachment Display Settings’. In this, there are three input areas. The first is the ‘Link to’. You want to select ‘Custom URL’ for this. Then in the next box, add the URL you want to send the user to when they click on the photo.
Finally, there is the size of the image.
Step 3: Add
Now you can add to the website’s page.
Final Word: How to Attach a Link to an Image in WordPress
Above are the simple instructions on how to attach a link to an image in WordPress. It is quick and simple to do and can help with SEO (with some help from apps like this one), improve the flow of your traffic around your website and more. Remember it is important to always have your images optimized for speed.