HTML’s srcset is such a weird image attribute. Can’t help but feel there was a better way to handle this. (But no, I don’t have any obviously better ideas.)

Collin Allen

@manton I’ve had this thought, as well. There’s a lot jammed into that one string, making it feel like it should’ve been split into a collection of related attributes or something. But I can’t think of any other precedent for that 🤔

Johan Larsson

if I have control over the backend I usually gravitate to using the picture element instead. I find it a lot more reasonable than srcset.

Manton Reece @manton
Lightbox Image