W3C home > Mailing lists > Public > www-html@w3.org > October 1999

PROPOSAL: <IMG RESIZE=yes MAXHEIGHT=nnn MAXWIDTH=xxx>

From: william drury <bild@xao.com>
Date: Fri, 22 Oct 1999 01:03:52 GMT
Message-ID: <19991022.1035200@slappy.xao.com>
To: www-html@w3.org

I am new to this list, and in the last couple of weeks, I haven't 
actually seen much traffic, so I hope that this is the proper forum in 
which to air an idea I had been kicking around (and wanted to erase 
from the whiteboard. :) 

The idea is to add some optional arguments to the IMG tag, such that 
if an image has RESIZE=yes, the browser would attempt to scale the 
image much in the same way that it will re-lay-out the text around it. 
 Often, when text is wrapping around an image, or people override your 
fonts with their own, unexpected layout things occur.  Also, the 
static image just gets smaller and smaller as screen resolutions increase.

So if RESIZE=yes, the browser would have the option of attempting to 
display the image at a proportionally larger size when someone resized 
their browser window to be larger (of course, JavaScript or something 
could be used to check the screen size, or it could try to decide what 
the page width is supposed to be by looking at the body tag).

Obviously, this would require some more sophisticated image scaling 
techniques in the browser than merely doubling the pixel size, etc, 
and I won't die if it never gets added, but it would be cool. :) 

Comments?

bild@bravenewworlds.com
William Drury

ps.  I can reclaim my whiteboard now. :) 
Received on Thursday, 21 October 1999 21:03:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:40 GMT