Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Improve lazyload behavior #644

Closed
GoogleCodeExporter opened this issue Apr 6, 2015 · 3 comments
Closed

Improve lazyload behavior #644

GoogleCodeExporter opened this issue Apr 6, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

As requested on 
http://stackoverflow.com/questions/15277981/is-there-a-way-to-lazyload-images-be
fore-they-become-visible-in-the-viewport-usi.

We currently have a buffer variable in the lazyload JS that will load images 
some number of pixels before the image is visible in the viewport, but no 
option exposed to configure that buffer. Add and expose an option to allow 
users to configure this.

Original issue reported on code.google.com by j...@google.com on 12 Mar 2013 at 7:07

@GoogleCodeExporter
Copy link
Author

Original comment by jmara...@google.com on 18 Mar 2013 at 7:28

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

We haven't yet exposed an explicit option for setting lazyload buffer pixels 
yet, but r3112 should cover the intent of the request and improve the loading 
behavior of lazyload. By default, 200 pixels of buffer are now added, and 
images that haven't been loaded by the onscroll event will now be loaded at 
onload.

Original comment by j...@google.com on 25 Jun 2013 at 2:26

  • Changed title: Improve lazyload behavior
  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

Original comment by j...@google.com on 25 Jun 2013 at 2:26

  • Added labels: Milestone-v29, release-note

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

No branches or pull requests

1 participant