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

Image: support multiple sources #515

necolas opened this issue Jun 13, 2017 · 1 comment


None yet
2 participants
Copy link

commented Jun 13, 2017

@necolas necolas added the help wanted label Dec 23, 2018


This comment has been minimized.

Copy link

commented Mar 2, 2019

The <picture> element may be a viable implementation strategy for this; IE (non-Edge) and Firefox < 38 lack support for it, and Firefox < 52 had it disabled by default, but modern browsers support it uniformly.

Beyond that, an <img> fallback inside the <picture> should make it work reasonably in the remaining cases.

Reading more closely, the available media queries that are supported for <picture> don't express the correct conditions for what <Image> wants - however, <img srcset="..."> at least supports width.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.