fancyapps / fancybox

jQuery lightbox script for displaying images, videos and more. Touch enabled, responsive and fully customizable.
http://fancyapps.com/
7.29k stars 1.79k forks source link

Gallery pagination and Fancybox - how to show all thumbnails #2628

Closed LeManhTuong286 closed 2 years ago

LeManhTuong286 commented 2 years ago

I have a gallery on my site and I use pagination for images expl. 32 images per page. Im using Fancybox which is working great. The problem is that the thumbnails in FancyBox only shows the thumbnails for the curent paginated site. So if you slide through images only with Fancybox than you don't know that there are actualy more images available unless you go bact to the page and click page2.

Is it possible to view all images in fancybox thumbnails.
Thank you

fancyapps commented 2 years ago

Hi,

You see, you have to tell Fancybox what content to display. If you want to view all images, then ... just do it. Either make hidden links for each gallery item or use Fancybox.show() method.