Re: [whatwg] Resolutions meta tag proposal

2010-07-06 Thread André Luís
G'day, since the discussion is more or less trying to find a solution in the markup realm (which I thoroughly support), I'm gonna focus on Roger's proposal of @dpi. I believe the proposal might work. But assuming you might want to target 3x resolutions on all img the size of the document will

Re: [whatwg] Resolutions meta tag proposal

2010-07-06 Thread Anne van Kesteren
On Tue, 06 Jul 2010 13:52:24 +0200, André Luís andreluis...@gmail.com wrote: [...] i still prefer the way I suggested earlier, to make img work like the other media tags: video audio, with child source elements that could have either a resolution=96 (per proposal of Roger) attribute or a media

Re: [whatwg] Resolutions meta tag proposal

2010-07-04 Thread Marques Johansson
Another way about handling this PPI ratio business would be with HTTP 300 multiple choice. http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3.1 This may not be the best answer for every image on a page, but the first HTML page in a server controlled session could store the PPI ratio

Re: [whatwg] Resolutions meta tag proposal

2010-07-04 Thread Roger Hågensen
On 2010-07-04 14:34, Marques Johansson wrote: Another way about handling this PPI ratio business would be with HTTP 300 multiple choice. http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3.1 This may not be the best answer for every image on a page, but the first HTML page in a

Re: [whatwg] Resolutions meta tag proposal

2010-07-03 Thread timeless
2010/7/3 André Luís andreluis...@gmail.com: (alt-option 1) Trying to step away from the solution presented, I can only imagine something along the lines of different src attributes for different resolutions: img src=imgs/standard-def.png src-2x=imgs/high-def.png video src=movs/sd.ogv

[whatwg] Resolutions meta tag proposal

2010-07-02 Thread Aral Balkan
I just submitted a proposal for a new meta tag to flag that high-resolution images are available and should be loaded in place of low-resolution ones for users with high-PPI displays (like the new iPhone 4's Retina display). Please see: http://wiki.whatwg.org/wiki/MetaExtensions#Proposals

Re: [whatwg] Resolutions meta tag proposal

2010-07-02 Thread Marques Johansson
On Fri, Jul 2, 2010 at 8:39 AM, Aral Balkan a...@aralbalkan.com wrote: ... http://wiki.whatwg.org/wiki/MetaExtensions#Proposals In this case, the developer would provide 2x, 4x, and 8x versions of all images. So, in the running example, she would make flower.jpg, flo...@2x.jpg, flo...@4x.jpg,

Re: [whatwg] Resolutions meta tag proposal

2010-07-02 Thread Aral Balkan
Hi Marques, I'm an interaction designer/developer, not a rocket scientist. :) A meta tag, I can easily add. If you start talking about HTTP headers, you've lost me. i.e., this is meant to be a pragmatic, easy-to-author solution. Thanks, Aral On Fri, Jul 2, 2010 at 2:13 PM, Marques Johansson

Re: [whatwg] Resolutions meta tag proposal

2010-07-02 Thread Aryeh Gregor
On Fri, Jul 2, 2010 at 8:39 AM, Aral Balkan a...@aralbalkan.com wrote: I just submitted a proposal for a new meta tag to flag that high-resolution images are available and should be loaded in place of low-resolution ones for users with high-PPI displays (like the new iPhone 4's Retina

Re: [whatwg] Resolutions meta tag proposal

2010-07-02 Thread André Luís
On 2 July 2010 14:28, Aral Balkan a...@aralbalkan.com wrote: Hi Marques, I'm an interaction designer/developer, not a rocket scientist. :) A meta tag, I can easily add. If you start talking about HTTP headers, you've lost me. i.e., this is meant to be a pragmatic, easy-to-author solution.