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

image preload? #296

Open
mtoensing opened this issue Jul 5, 2016 · 2 comments
Open

image preload? #296

mtoensing opened this issue Jul 5, 2016 · 2 comments

Comments

@mtoensing
Copy link

Hi!

I wonder if you could implement a simply preload mechanism for images. This would make a huge difference for the users. An option on how many images would be preloaded is much appreciated.

@fakeartist
Copy link

Thumbs up for this request!

@damgut
Copy link

damgut commented Jan 19, 2021

This would be a great feature. It takes too long to update every image.

It does not seem to be so difficult. I simply added in:
js/jquery.swipebox.js

after each line like this:
this.preloadMedia( index+1 );

two additional lines:
this.preloadMedia( index+2 );
this.preloadMedia( index+3 );

To preload 3 images. And It works pretty much faster!!!

See: #385

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

3 participants