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

Fails to load images already in viewport #44

Closed
steverob opened this issue May 7, 2014 · 2 comments
Closed

Fails to load images already in viewport #44

steverob opened this issue May 7, 2014 · 2 comments

Comments

@steverob
Copy link

steverob commented May 7, 2014

I have some images that are already on the viewport. But it does not lazy load them, it loads all the images below the viewport when I scroll.

These images that were originally in the viewport are left as it is. Any pointers? Thanks!

@toddmotto
Copy link
Owner

Have you tried calling .apply() on page load/DOM ready?

On 7 May 2014 07:24, Steve Robinson notifications@github.com wrote:

I have some images that are already on the viewport. But it does not lazy
load them, it loads all the images below the viewport when I scroll.

These images that were originally in the viewport are left as it is. Any
pointers? Thanks!


Reply to this email directly or view it on GitHubhttps://github.com//issues/44
.

Todd Motto | +44 7557 149 519
Lead front-end engineer
toddmotto.com | @toddmotto

@steverob
Copy link
Author

steverob commented May 7, 2014

Hi Todd
Thanks for the tip. I'll try that and get back to you. Thanks!

Regards
Steve Robinson

On 07-May-2014, at 2:16 pm, Todd Motto notifications@github.com wrote:

Have you tried calling .apply() on page load/DOM ready?

On 7 May 2014 07:24, Steve Robinson notifications@github.com wrote:

I have some images that are already on the viewport. But it does not lazy
load them, it loads all the images below the viewport when I scroll.

These images that were originally in the viewport are left as it is. Any
pointers? Thanks!


Reply to this email directly or view it on GitHubhttps://github.com//issues/44
.

Todd Motto | +44 7557 149 519
Lead front-end engineer
toddmotto.com | @toddmotto

Reply to this email directly or view it on GitHub.

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