dinbror / blazy

Hey, be lazy! bLazy.JS is a lightweight pure JavaScript script for lazy loading and multi-serving images. It's working in all modern browsers including IE7+.
http://dinbror.dk/blazy
MIT License
2.63k stars 356 forks source link

Doesn't always load #116

Closed mortenhjort closed 7 years ago

mortenhjort commented 7 years ago

I've got no idea why it seems the images loads quite randomly. Try to reload this page a few times and you'll see it only works once in a while: http://mortenhjort.dk/synchub/

The behaviour is very random especially when testing in various browsers. And sorry if I'm in a error 40, but I've got no clue why its behaves as it does.

dinbror commented 7 years ago

Hej @mortenhjort

Prøv at flytte dine script tags ned i bunden af body tagget. Tror problemet er at blazy bliver initialiseret inden siden er loadet færdig