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

Lazy load waits until all ads are loaded before start load images #10

Open
Rubioli opened this issue Jul 29, 2016 · 2 comments
Open

Lazy load waits until all ads are loaded before start load images #10

Rubioli opened this issue Jul 29, 2016 · 2 comments

Comments

@Rubioli
Copy link

Rubioli commented Jul 29, 2016

Lazy loads works great when I don't have ads on the page but in my case I have 7 ads on my page and lazy load "waits" until all the ads has loaded done before it starts to load the images.

I did this:

$("img.lazy").lazyload({
        event : "load-delay"
 });

$(window).bind("load", function() {
       var timeout = setTimeout(function() { $("img.lazy").trigger("load-delay") }, 1500);
});

But it still does the same thing, waiting for ads to get loads first and it actually make my load-time speed double.

How can I make the lazy load so it load before ads and don't wait for ads to load first.

Great Gem!

@bnymn
Copy link

bnymn commented Sep 3, 2016

I think it is related to the lazy load plug-in itself.

@rohr
Copy link

rohr commented Jul 3, 2018

@Rubioli did you find a solution for this? We're experiencing the same issue. @rderoldan1 @Rikku-1

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

3 participants