Ok, I'm surprised that this is not taken care of with HTML.

I propose the following standard (but also looking for a PHP workaround if available)
for the Img HTML tag:


RATIO = Keep|Ignore, default Ignore

< img width='x' height='y' RATIO='Keep|Ignore' >

Where, RATIO=Keep will inlarge the image to a
max WIDTH or HEIGHT (which ever comes first),
without changing the perspective ratio.

I don't want to have to use Photoshop or Gimp to
ensure that the images a width=x or heigth=y will keep ratio.

If anyone belongs to W3C, please consider this.

Thanks






-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to