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

Improve lazyload behavior #644

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

Comments

Projects
None yet
1 participant
@GoogleCodeExporter
Copy link

GoogleCodeExporter commented Apr 6, 2015

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

This comment has been minimized.

Copy link

GoogleCodeExporter commented Apr 6, 2015

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

  • Changed state: Accepted
@GoogleCodeExporter

This comment has been minimized.

Copy link

GoogleCodeExporter commented Apr 6, 2015

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

This comment has been minimized.

Copy link

GoogleCodeExporter commented Apr 6, 2015

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

  • Added labels: Milestone-v29, release-note
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment