RE: Adaptive images

"Is there a way to use media queries to ask for the zoom level? If so, it seems like this use case would be addressed as long as we come up with a syntax which lets you choose image based on media query."

http://www.webkit.org/blog/55/high-dpi-web-sites/
WebKit proposed min-device-pixel-ratio in 2006.

-----Original Message-----
From: public-html-request@w3.org [mailto:public-html-request@w3.org] On Behalf Of Jonas Sicking
Sent: Thursday, June 02, 2011 8:09 AM
To: Charl van Niekerk
Cc: Maciej Stachowiak; Simon Pieters; Tab Atkins Jr.; Leonard Rosenthol; Henri Sivonen; Karl Dubost; public-html@w3.org
Subject: Re: Adaptive images

On Wed, Jun 1, 2011 at 3:55 PM, Charl van Niekerk <charlvn@charlvn.com> wrote:
> On 01 Jun 2011, at 11:57 PM, Maciej Stachowiak wrote:
>> This rarely comes up. Usually the user is either looking at the site zoomed out, or panning around in true 1 to 1 size, or the site is designed to fit in one screen width without zooming in or out.
>
> This is, generally speaking, my observation as well, which is why the 
> current convention of "display thumbnail linked to the larger version" 
> worked so well for so many years. The main problem with this approach 
> is that it has usability problems. Some users attempt to zoom in on 
> the thumbnail instead of opening the larger version (particularly on 
> mobile devices). Also, even on "traditional" computers, some people 
> would for example save the thumbnail image when they actually intend 
> to save the full version to their hard drives. (Actually had this case 
> with my mom the other day, which is why it's fresh in my mind.)

Is there a way to use media queries to ask for the zoom level? If so, it seems like this use case would be addressed as long as we come up with a syntax which lets you choose image based on media query.

/ Jonas

Received on Thursday, 2 June 2011 15:37:30 UTC