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.
I created a gallery with 9 items. When I see the first item the pager it's ok, but when I move to another item, sometimes the pager it's incomplete.
I first seen this here.
Comment | File | Size | Author |
---|---|---|---|
Clipboard-3.jpg | 50.39 KB | idflorin | |
Clipboard-2.jpg | 22.5 KB | idflorin | |
Clipboard-1.jpg | 26.68 KB | idflorin |
Comments
Comment #1
infernalshade CreditAttribution: infernalshade commentedI have the same Problem... any solution?
I've set my Pager to show 7 Thumbnails as Pager-Icons. If i have 1-7 Images in my Gallery everything works fine.
But i have a Gallery with 12 images. The first one is shown correctly, but if i switch to the second one (it doesnt matter if i use "next" or click on the item directly) the pager only shows Image 11 and 12 - prev and next Buttons are working fine at this point, only the images arent shown! If i press "next" then, to show image 3 , the Pager show only image 12. Then, after pressing "next" (to switch to image 4), everything works fine again!
Thx and greetz,
infernalshade
Comment #2
infernalshade CreditAttribution: infernalshade commentedI've found the Problem for this behavior:
In gallery_assist.module you can find following part on line 3837:
Change these lines to this:
This "Workaround" works fine for me, the only bad thing is, the currently viewed pager item is always on the left side, not in the middle...
Comment #3
OmarQot CreditAttribution: OmarQot commentedthanks for the note, but here is the solution that fixes the problem
In gallery_assist.module you can find following part on line 3837:
Replace it with and should be be working fine