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

Svg image cannot show #98

Closed silencechow closed 8 years ago

silencechow commented 8 years ago

I have tested using svg image. It cannot show the image correctly. But it works when loadInvisible: true

dinbror commented 8 years ago

Hey @silencechow

What do you mean by correctly? Are you sure it isn't because the image is collapsed? I made a quick jsfiddle where it works fine: https://jsfiddle.net/2td18ad8/1/