KEEP IMAGE RATIO

From: Date: Wed, 16 Jul 2003 13:31:32 +0000
Subject: KEEP IMAGE RATIO
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-155407@lists.php.net to get a copy of this message
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

« previous php.general (#155407) next »