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+.
Setting srcset attribute before src attribute on the img element, to prevent two images being transferred from Firefox and Chrome on hidpi displays.
Also added srcset attribute to img preload.
Setting srcset attribute before src attribute on the img element, to prevent two images being transferred from Firefox and Chrome on hidpi displays. Also added srcset attribute to img preload.