Skip to content
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

srcset bug in Chrome & FF #166

Open
jimmleon opened this issue Mar 22, 2018 · 0 comments
Open

srcset bug in Chrome & FF #166

jimmleon opened this issue Mar 22, 2018 · 0 comments

Comments

@jimmleon
Copy link

i have data-srcset with 3 images:
image-480.jpg 480w, image-720.jpg 720w, image-960.jpg 960w
and specified sizes as such: (max-width: 600px) 100vw, (min-width: 601px) and (max-width: 992px) 50vw, 33.3vw
and data-src="image-480.jpeg".

Well, Chrome will never display the 480px image.
On the other hand, i see that Firefox makes a double request: the 480px image as well as the 960px!

Any idea of why is this happening or how to solve this issue?

This plugin is really great in general, however it's a pity if it cannot actually handle such a useful attribute as the srcset. Any help would be really appreciated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant