-
Notifications
You must be signed in to change notification settings - Fork 329
Need srcset support #44
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
Comments
+1 |
3 similar comments
+1 |
+1 |
+1 |
+1 PS: A |
I add a new pull request with .currentSrc #65 In theory this fix the srcset too. Can someone confirm this? |
+1 |
1 similar comment
+1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using images with srcset in browsers that have native support (Chrome & Firefox) the plugin breaks. The plugin depends on a src to be specified. Polyfills, like picturefill or lazysizes/respimage, create a src image in Safari 8 because full native support for srcset isn't implemented yet. However, that will change with the release of Safari 9, which I confirmed by testing with Webkit Nightly. I'll look into a fix my self, but any thoughts on how to extend this to use srcset if src is not specified would be very helpful.
The text was updated successfully, but these errors were encountered: