Re: Resizing images relative to window size

Walter Ian Kaye (boo@best.com)
Wed, 3 Jul 1996 14:35:14 -0700


Message-Id: <v0300760badffd65bfab2@[205.149.180.135]>
In-Reply-To: 
Date: Wed, 3 Jul 1996 14:35:14 -0700
To: www-html@w3.org
From: Walter Ian Kaye <boo@best.com>
Subject: Re: Resizing images relative to window size

At 1:39a +0100 07/03/96, James Aylett wrote:
>Currently I'm using frames to get the result that the text fits into
>the window width, but the two images which make up the logo and sit side
>by side don't (and, equally importantly, don't overlap - I originally used
>ALIGN=LEFT and RIGHT in the IMG tags, which Netscape then nicely
>overlapped for me if the window was too narrow). My initial reaction was
>"How do I scale down the page?", but after a while I decided that what I
>really wanted to do was scale the images with respect to the page width -
>ie, in a similar way to using <TD WIDTH=50%> I'd have <IMG ... WIDTH=50%>
>for each.

Unfortunately, this doesn't work well for bitmap images (Chris Lilley has a page which goes into detail about image scaling). We really need SVF or something like it (hopefully supporting antialiasing), since vector graphics scale better than bitmap graphics (understatement!). Anyone know what's going on with that?

__________________________________________________________________________
    Walter Ian Kaye <boo@best.com>     Programmer - Excel, AppleScript,
          Mountain View, CA                         ProTERM, FoxPro, HTML
 http://www.natural-innovations.com/     Musician - Guitarist, Songwriter