-
Notifications
You must be signed in to change notification settings - Fork 354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multiserve image loads only default #82
Comments
dgorges
changed the title
multiserve image load only default
multiserve image loads only default
Apr 20, 2016
Can somebody confirm this? Quite an issue |
Thanks, i figured it out today, PR will be hopefully ready tomorrow ;) |
I'll add support for srcset and the picture element very soon |
Marked "breakpoints" as obsolete in version 1.6.0. Use srcset and/or the picture element instead |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: