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+.
Hello Bjørn,
thanks a lot for the great piece of functionality :)
Is it too difficult to make an src attribute changeanble via settings? I mean the use case for the .jpg images loaded into SVG <image> tag's xlink:href attribute.
This could be quite a good addition to blazy for advanced users I believe, especially in the case of mobile applications on 3G where the difference between png and jpg loading time can be considerable.
Something like this:
var blazy = new Blazy({
srcattribute: 'xlink:href' // default 'src'
});
Hello Bjørn, thanks a lot for the great piece of functionality :)
Is it too difficult to make an
src
attribute changeanble via settings? I mean the use case for the.jpg
images loaded into SVG<image>
tag'sxlink:href
attribute.Here is the use case I expoit: CSS Tricks Transparent JPG (With SVG).
This could be quite a good addition to blazy for advanced users I believe, especially in the case of mobile applications on 3G where the difference between
png
andjpg
loading time can be considerable.Something like this:
...and the markup:
Thanks again. Val