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

Images aren't loaded if the page fits on the screen #233

Open
emumanu opened this issue Dec 15, 2014 · 3 comments
Open

Images aren't loaded if the page fits on the screen #233

emumanu opened this issue Dec 15, 2014 · 3 comments

Comments

@emumanu
Copy link

emumanu commented Dec 15, 2014

Hello,

I have used your lazy load code without problems but I found out that the library isn't always working right. If the web page is small and it fits on the screen, sometimes I don't get the images loaded (I'm using the latest Chrome browser). You can check it here

Thank you

@MiguelTVMS
Copy link

I have the exact same problem.
You can see it here:
http://esportes.flamengoloja.com.br/nav/marca/braziline/0

@WebDerekh
Copy link

Have same problem! Have somebody idea what is wrong?

@Jafferwaffer
Copy link

I had a similar issue. It turned out that at the time of the lazyload init running the imgs were above-the-top. Adding a small threshold, such as 20, fixed this issue.

You can pass threshold in inside the options object.

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

4 participants