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

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 join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants