"Next Image" link not working in gallery
-
The “Next Image ->” link in my image gallery pages actually links to the LAST image in the gallery.
For example, on https://smallhousebliss.com/2016/12/11/lanefab-live-work-laneway-house/lanefab-live-work-laneway-house-ldk1/:
Clicking Next Image incorrectly takes you to https://smallhousebliss.com/2016/12/11/lanefab-live-work-laneway-house/lanefab-live-work-laneway-house-exterior5/.
Clicking on the photo itself takes you to the correct location, https://smallhousebliss.com/2016/12/11/lanefab-live-work-laneway-house/lanefab-live-work-laneway-house-ldk2/.The blog I need help with is: (visible only to logged in users)
-
Hi @smallhousebliss, that’s odd. I’ll do some testing on our end, but did you happen to notice when this started?
-
Thanks Supernovia. Two readers brought it to my attention yesterday. It was probably fine on Sunday because we had a lot of traffic but no one said anything.
-
Thank you.
Quick question: while I may be able to fix the attachment page, have you thought about displaying your gallery with a carousel? It might be a bit faster for your users to browse photos that way.
-
If you want to enable the carousel, you can find that setting here:
https://smallhousebliss.wordpress.com/wp-admin/options-media.phpWe have been using that as the default setting for so long, it took me a bit to figure out how to disable it for testing. I think you might like it though.
-
To the best of my knowledge, the order of Gallery Attachment pages is determined by the order in which the images are uploaded, but here, as @smallhousebliss said, there is a disconnect between clicking on the image, which brings one to the correct next image, and clicking on the “Next Image” link in the Attachment page, which doesn’t.
Yes, using the Photo Carousel sidesteps this issue, but not everyone wants their Gallery images displayed in the Photo Carousel. And opting in to using the Photo Carousel means that is the default for every Gallery on your site.
A long time ago I suggested that what we really need in the Gallery “link to” options are None, Attachment Page, Media File, and Carousel. But that is a different discussion for a different time and place.
-
but not everyone wants their Gallery images displayed in the Photo Carousel
Agreed, we are working on a fix for the other issue. And you are correct in that the images show in upload order.
- The topic ‘"Next Image" link not working in gallery’ is closed to new replies.