I tried the whole solution specified in stackoverflow.
LazyLoad images are not displayed until you scroll.
Add a width height in css Add a width height in HTML $(window).resize(); .trigger("lazyload"); skip_invisible:true failure_limit : 1000
I also tried the alternative http://luis-almeida.imtqy.com/unveil/
But the problem is still the same. If I do not resize the window (or $ (window) .resize () in the console), the image is not displayed. However, if I set the threshold to 300, the images in the first 300 pixels will be displayed, not the others ...
The strangest thing is that the problem is the same for 2 plugins.
Any suggestion?
, , , lazyload
lazyload setInterval window.load.
setInterval
window.load
var interval = setInterval(function(){ $("img.lazy").lazyload(); clearInterval(interval); },1000);