[whatwg] <img srcset> for responsive bitmapped content images
Tab Atkins Jr.
jackalmage at gmail.com
Thu May 10 08:02:22 PDT 2012
On Thu, May 10, 2012 at 4:45 PM, Mathew Marquis <mat at matmarquis.com> wrote:
> On May 10, 2012, at 8:36 AM, Scott González wrote:
>> You should look into the previous discussions at
>> http://www.w3.org/community/respimg/
>>
>> There's also a prototype using media queries at
>> https://github.com/scottjehl/picturefill. I realize you specifically said
>> you think media queries don't solve all of the problems, but it seems worth
>> looking at.
>>
>
> I can’t second Scott’s suggestion enough. There is a ton of history and valuable conversation around this topic already in the Community Group, and we’ve been working with a couple of browser reps trying to get this thing solved. We’ve even gone so far as to put the solution that seems to have the most legs together as a sort-of spec, so all the details are in one easily-parsed place: https://github.com/Wilto/respimg
The Responsive Images work is intended to solve a different issue than
the "send high-res versions if you have the screen and bandwidth to do
so". It's for serving different images based on various MQ
conditions, just baked into HTML markup rather than hacking it in via
backgrounds. MQs, though, are a fundamentally unsound method for
doing bandwidth-responsive image serving. I gave the basic example of
why it fails in an earlier message in this thread.
~TJ
More information about the whatwg
mailing list