Re:The Clown Car Technique for Responsive Images
by WiseWeasel on Sunday April 21, 2013 @04:31PM
(#5586294)
I love how this isolates the complexity of responsive image serving from the CSS. I wonder if a good practice might be to have a single images.svg file with all your site's responsive images included as ID'd groups, like:
I'll have to play with this, but it looks like a promising idea. Here's hoping browser compatibility is decent. For some reason, the first 'foreground' svg example doesn't seem to render an image for me in Chrome or Firefox, despite supposed support for the latter:
Re:The Clown Car Technique for Responsive Images
by neilk on Sunday April 21, 2013 @05:01PM
(#5586392)
If you compiled data about every image on the site in one file, and then loaded that file with every request, you could just use regular CSS and media queries.
http://estelle.github.io/clowncar/
This could be a problem; I'd like to see expanded browser support.