I am writing a tool to generate html and have a problem with the <img>
tag. The tool generates something like "<img src="...">". At the time
the html is generated, the tool does not know the actual image size,
but I do want to resize any image so that their width and height will
both be smaller than 100. I also want to keep the iamge width/height
ration so the image looks "normal". If I use <img src="..." width=100
height=100> the image will be resized. If I use <img src="..." width =
100>, it does not work if the height is larger than the width. If I
define the height, same thing. Is there a way I can do what I want?
Thanks,
John