Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Currently, when viewing the images in a gallery, the "Next" link takes the user back to the first image in the gallery when you're viewing the last image in the gallery. Same goes for the "Prev" link when you're on the first image. It would be great if you could choose to have the Next link inactive on the last image and the Pref link inactive on the first image. This could be a global setting on the config page.
Comments
Comment #1
kmontyYou could do this via a theme function.
Comment #2
seehawk CreditAttribution: seehawk commentedTrue enough, but for those of us who aren't great at or wild about themeing, this would be a nice feature to have (which is why I made it a minor priority.) Please consider re-opening it.
Comment #3
kmontyComment #4
dddave CreditAttribution: dddave commentedComment #5
justintime CreditAttribution: justintime commentedThis is actually complete and the default in 3.x now.