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

Load all images option #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Load all images option #34

wants to merge 1 commit into from

Conversation

sime
Copy link

@sime sime commented Dec 13, 2012

Basically her just getting the fetching of images loading out of the page load.

Thoughts?

@sebarmeli
Copy link
Owner

Why would you want to load all the images even if the image is not visible in the viewport or is hidden?

@sime
Copy link
Author

sime commented Dec 21, 2012

The intention is that I can load other JS, then download the images.

On Fri, Dec 21, 2012 at 4:57 PM, Sebastiano Armeli-Battana <
[email protected]> wrote:

Why would you want to load all the images even if the image is not visible
in the viewport or is hidden?


Reply to this email directly or view it on GitHubhttps://github.com//pull/34#issuecomment-11606634.

Simon Males

@bridgeport
Copy link

sebarmeli, one instance where this may be useful is a slideshow. For instance, if a slideshow has 3 images, the HTML source can show only the first slide's real image in the "src" tag, while the lazyload function performs a forced download of the other images. This way, the first image is shown to everyone, any other scripts in the footer executes, then JAIL executes along with the other scripts to force download the non-visible/hidden images so that they'll be primed in the browser cache.

Something like this should probably only be used selectively.

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

Successfully merging this pull request may close these issues.

3 participants