Need help? Check out our Support site, then


Can I make an image link to a website from an attachment page.

  1. 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:
    http://cherryontophats.wordpress.com/collections/prowlesque-collection/shanghaicu/

    Thank you.

    The blog I need help with is cherryontophats.wordpress.com.

  2. Hi there,

    You can add a custom link, or you can pick link to none by editing each image and changing the 'link URL' setting: http://en.support.wordpress.com/images/image-settings/#within-posts

    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!

  3. Thank you.
    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.
    Thanks again.

  4. jerrysarcastic
    Staff

    Hi there,

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic