Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do some performance optimizations #10

Open
darxtrix opened this issue May 27, 2016 · 1 comment
Open

Do some performance optimizations #10

darxtrix opened this issue May 27, 2016 · 1 comment

Comments

@darxtrix
Copy link

Loaded a directory of 346 images and each image ~15 MB of size. I waited for ~40 seconds but nothing loaded up. Consider doing lazy loading of previews, i.e load the previews of first few images and then accordingly with time load others as the user navigates. Loading all at the time, eats up a lot of RAM and slows down the app.

@sachinchoolur
Copy link
Owner

Hi,
Thank you pointing this out.
lightgallery loads only 3 images at a time. All the other images are loaded only when user navigate to different slides.
But currently it is not effective for thumbnails. I think the issue is because of that. I will add lazy-loading for thumbnails also

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants