simplajs / simpla-img

An editable image you can update inline, built on Simpla
https://www.simplajs.org
MIT License
6 stars 3 forks source link

Support responsive images #32

Open bedeoverend opened 8 years ago

bedeoverend commented 8 years ago

From @d3ddd on July 20, 2016 19:10

It would really help with responsive images if we could take advantage of srcset, sizes, and/or the picture element.

It's great that I can build a site essentially anyway I want and then hand it off to a client and they can edit it with virtually no training.

However, I can't seem to figure out a way that I could still have responsive image files using picturefill while using simpla.

That's something I'd REALLY like to be able to do!

Copied from original issue: simplaio/simpla#25

bedeoverend commented 8 years ago

@d3ddd so right now we don't support the srcset attribute, but it's something we definitely want to add in the future. We're also looking into extending <img> (rather than just defining <simpla-img>) which would help us significantly in supporting these new features.

Thanks for the feedback!

bedeoverend commented 8 years ago

@d3ddd keep an eye on this repo for any updates, we'll also obviously update this issue as we make progress. Cheers!