luis-almeida / filtrify

Beautiful advanced tag filtering with HTML5 and jQuery
Other
644 stars 113 forks source link

lazy_load plugin in demo isn't a drop-in fix #1

Closed bryanbuchs closed 12 years ago

bryanbuchs commented 12 years ago

No "modern" browsers support the method that this plugin originally used; if an image is loaded on the page via the "src" attribute in the tag, that can't be suppressed -- it loads. The updated method requires that img tags use a placeholder image in the src attribute, and specify the actual image via a "data-src" attribute.

luis-almeida commented 12 years ago

But that's what is being done in the lazyload demo:

<img src="film.png" data-original="img/movies/BladeRunner.jpg" />

"film.png" is just a "loader" image. Something to be displayed while the original image loads.

The other demos aren't using lazyload.

bryanbuchs commented 12 years ago

My bad. Sorry!

luis-almeida commented 12 years ago

Thanks anyway :)