[resolved] Gallery image link to attachment page broken after update. (4 posts)

  1. Ken Duret
    Posted 5 years ago #

    I had all my gallery images linked to the attachment page using the default 'image links to attachment page' in the media uploader.

    When I upgraded to WP 3.1.1 all the 'links to attachment' links are gone and no longer work. I tried creating a new gallery and checked 'images link to attachment page' and none of the images actually link to the attachment page and instead link to the image file.

    I do have an attachment.php in my theme but all the gallery images actually link to the image file and not the attachment page. I can't figure out why or how to fix. Any ideas?

    Here's an example: http://kenduret.com/honey-bees/ See 'All images from this series' at the bottom of the post.


  2. esmi
    Forum Moderator
    Posted 5 years ago #

    There isn't an "image links to attachment page" in WordPress by default. There are just 3 options: File Url, Post Url or None. And the default gallery works by displaying all images uploaded via Add Media whilst working on that page.

  3. Ken Duret
    Posted 5 years ago #

    After uploading images for the page via the media uploader I click 'gallery' and at the bottom of that page I have 'Link thumbnails to:' with radio buttons that say 'Image File' or 'Attachment Page'.

    Here's a screenshot of the feature: http://kenduret.com/wp-content/uploads/2011/04/gallery.jpg

    I've used this many times in the past and now after the upgrade to 3.1.1 it's broken.

  4. Ken Duret
    Posted 5 years ago #

    Solved. This was a conflict with the Lightview Plus plugin.

Topic Closed

This topic has been closed to new replies.

About this Topic