How do I maintain the height and width ratio in a thumbnail image when I have multiple images with differing ratios (some tall_and_skinny, some short_and_Fat).
I am calling the image name from a database and outputing it on a new page as a thumbnail.
<img src="ImageName" height="150" width="150">
does not work because it distorts the image.
PS I do not want to create two versions of the image since I will be managing thousands of images.
Eric Searing
eric.searing@wcom.com
I am calling the image name from a database and outputing it on a new page as a thumbnail.
<img src="ImageName" height="150" width="150">
does not work because it distorts the image.
PS I do not want to create two versions of the image since I will be managing thousands of images.
Eric Searing
eric.searing@wcom.com