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 355 forks source link

Blazy, <picture> and picturefill issue #140

Open tjwelde opened 7 years ago

tjwelde commented 7 years ago

HI everybody,

we are trying to use blazy on picture elements. To make picture elements work for IE11 and below, our system is using the polyfill: picturefill

Blazy now expects a data-src on the fallback image, but to make the polyfill work, there doesn't have to be a src attribute.

Any idea on how to solve this issue?