Re: Adaptive images

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 UTC