jQuery LazyLoad doesn't load images in open page's visible part until I scroll page even on 1px.
When I scroll page all works right
Update:
CoffeScript
jQuery ->
   $("img.lazy").show().lazyload()
   $(window).resize()
But $(window).resize() helps only if i enter it from browser's console when page have loaded
$("img.lazy").lazyload({
             threshold : 50
         });
And add this:
$(window).load(function(){
     $("html,body").trigger("scroll");
});
                        Your images must have width and height set.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With