Open mistic100 opened 3 years ago
Related to #150 and #189
FYI I dropped this whole block on my local installation to be able to use this plugin without being banned
This doesn't even require any scripting on modern browsers https://developer.mozilla.org/en-US/docs/Web/Performance/Lazy_loading#images_and_iframes
When accessing the map, the bottom navbar is initialized with the thumbnails of ALL images available on the map (basically all images of the gallery).
This puts a very high load on the server and the browser (in my case initializing more than 2000 li+img elements). I even get banned from my host because of suspicious usage.
Could you make an update to only load ~20 thumbnails, and if needed, lazy load the others when using the arrows ?