Ecodev / natural-gallery-js

A lazy load, infinite scroll and natural layout list gallery
https://ecodev.github.io/natural-gallery-js/
MIT License
134 stars 26 forks source link

Disable lazy loading functionality #81

Open johtso opened 2 years ago

johtso commented 2 years ago

Am I missing something or is there no option to disable this functionality?

I currently want a bit more preloading of images to happen, and pagination does enough to make sure too many images aren't loaded at once. Is there a way to disable the lazy loading functionality?

In ideal world, if the user frantically scrolls down then all images they have skipped passed would not be loaded, and only current and future images would be loaded unless the user scrolls back up.. but that's a bit out of scope of this issue.