Can I make an image link to a website from an attachment page.
I have an images of products in a gallery and they all click through to their individual attachment pages. What I would like to do is either link the image that is on the attachment page to a URL of my choice OR for it to not be clickable at all. At present when you click on the image from the attachment page it opens up the image on its own on a blank page and I don’t want this. I would rather send my audience to a link they can purchase the item from OR for no action to occur when the image is clicked on.
Hope that makes sense.
Here is one of my attachment pages:
The blog I need help with is cherryontophats.wordpress.com.
You can add a custom link, or you can pick link to none by editing each image and changing the ‘link URL’ setting:
However, there’s currently a bug with the tiled mosaic form of gallery where it does not respect the link to none setting – it still links to the attachment page.
It looks like you’ve figured out how to link them to a post now, though. For the image that appears on its own on that post page, you should be able to edit it and choose link to none.
Let me know if you have further questions!
The custom link option is only available if you’re manually inserting media onto a page though, yes?
If I have them in a gallery I can’t link each image separately to a URL?
As it is now, if I click on an image in the gallery, it takes me to an attachment page. And on that page, if I click on the image it opens the image up on a blank screen. That’s what i’m trying to avoid.
Ideally I’d like to take viewers straight to the purchase page of my Etsy shop from the individual image in the gallery.
Yes, that is correct. It is not possible to set a link target (URL) for images in a gallery or slideshow. You will need to use single images if you want to create image links like that.
Let me know if you need assistance or if you have any questions.
The topic ‘Can I make an image link to a website from an attachment page.’ is closed to new replies.