Open ivanbacher opened 2 months ago
I think this might have something to do with light gallery not lazy loading thumbnails - specifically the ones in the opened gallery.
I've had this issue recently as well where all my thumbnails load at the beginning of the page load which could hurt page performance. I've also noticed this being brought up in other issues but it's yet to be addressed (#1453, #965, #805)
Description
The code below (from documentation) seems to load all
data-external-thumb-image
thumbnails straight await. Is it possible to lazy load these?I have a lot of images and am adding them dynamically to the page using js (see below). Loading all of the thumbnails at once slows the page down.
Steps to reproduce
JS code that you use to initialize lightGallery.
Sample HTML markup
JS used to add images to page
Environment
Additional context