Skip to content
This repository has been archived by the owner on Dec 28, 2024. It is now read-only.

Support for srcset? #68

Open
aendra-rininsland opened this issue Mar 3, 2016 · 5 comments
Open

Support for srcset? #68

aendra-rininsland opened this issue Mar 3, 2016 · 5 comments

Comments

@aendra-rininsland
Copy link

Hi!
Is it possible to use srcset with this element? If not, would you consider a PR implementing it?

Thanks!

@bicknellr
Copy link
Contributor

Hi @Aendrew, srcset isn't supported right now but there's been a request for similar functionality: #14. One thing that needs to be considered is how this would interact with the error state. I'd like to make sure that something like this isn't reducible to a fallback mechanism (see #34 for more discussion). Another thing to consider might be a wrapper or extension to iron-image which adds this behavior; maybe we need a beefier version ('paper-image'?) for features like this, built-in fallback handling stuff, etc.? There's still need for discussion about how / where this should happen.

@TimvdLippe
Copy link

Since srcset is supported on the original img tag, I don't think it is a good idea to make it a separate component. Currently I see iron-image as a complete replacement for img, which some additions. However as this feature is currently missing, users have to consider sticking to img until such attributes are added. Therefore I would like to see this added to iron-image.

@mrdevin
Copy link

mrdevin commented Oct 11, 2016

+1

@mvpmvh
Copy link

mvpmvh commented Mar 25, 2017

where do i go to keep track of the status of this feature request?

@mlisook
Copy link

mlisook commented Jun 14, 2017

If you need this now, I published plastic-image which adds srcset and lazy loading to iron-image.

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

No branches or pull requests

6 participants