W3C home > Mailing lists > Public > public-html@w3.org > May 2011

Re: Adaptive images

From: Karl Dubost <karld@opera.com>
Date: Mon, 30 May 2011 19:30:05 -0400
Message-Id: <31B3BFC2-1128-4536-9ADB-980B73CAB283@opera.com>
Cc: Dominique Hazael-Massieux <dom@w3.org>, public-html@w3.org
To: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>

Le 30 mai 2011 à 18:03, Leif Halvard Silli a écrit :
> If browsers developed better support for CSS generatd and replaced 
> content, then why could not media queries be used? For example:
> 
> @media (min-width:500px) {img#image{content:url(highrez.jpeg)}}

hmm. It doesn't feel right to me. Not sure how exactly why. 

Basically my *ideal* (utopian?) scenario would be

<img src="foo/the-image"/>

And then through content-negotiation the best image is chosen depending on 

* screen size
* bandwidth
* etc.


-- 
Karl Dubost - http://dev.opera.com/
Developer Relations & Tools, Opera Software
Received on Monday, 30 May 2011 23:30:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:32 GMT