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

RE: Adaptive images

From: Leonard Rosenthol <lrosenth@adobe.com>
Date: Tue, 31 May 2011 04:39:36 -0700
To: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
CC: Karl Dubost <karld@opera.com>, Dominique Hazael-Massieux <dom@w3.org>, "public-html@w3.org" <public-html@w3.org>
Message-ID: <D23D6B9E57D654429A9AB6918CACEAA98064C20D51@NAMBX02.corp.adobe.com>
Indeed - CSS + media queries. (ala other related dynamic content/sizing choices)

-----Original Message-----
From: Leif Halvard Silli [mailto:xn--mlform-iua@målform.no] 
Sent: Tuesday, May 31, 2011 2:58 AM
To: Leonard Rosenthol
Cc: Karl Dubost; Dominique Hazael-Massieux; public-html@w3.org
Subject: RE: Adaptive images

Leonard Rosenthol, Mon, 30 May 2011 18:34:58 -0700:
> That assumes a server and connection - but there are HTML5 UAs that 
> will be working on local content (EPUB3, email, etc.) where all 
> content is local and you need a mechanism that does NOT require a 
> server on the other side.

So, +1 to CSSs generated content + media queries?

> On Behalf Of Karl Dubost
> 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.
-- 
Leif H Silli
Received on Tuesday, 31 May 2011 11:40:28 GMT

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