-
Notifications
You must be signed in to change notification settings - Fork 351
Closed
Description
Image:
<img class="bJS_lazy" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="default.jpg" data-src-small="default-small.jpg" alt="Image" />
js
var bLazy = new Blazy({ breakpoints: [{ width: 900 , src: 'data-src-small' }] , selector: s.selector , offset: 350 , successClass: 'b_loaded' , validateDelay: 10 });
bLazy loads the data-src image (default.jpg) not the data-src-small. I tested it on different screen resolutions. From 300px to 2000px.
Metadata
Metadata
Assignees
Labels
No labels