You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
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
The text was updated successfully, but these errors were encountered: