Sul
10-17-2003, 02:19 PM
Hi
I have a gallery of pictures of sizes 640x480 or 480x640 pixels. When each thumbnail is clicked the large picture is loaded up on a popup window. However, I want this popup window to resize itself automatically depending upon the size of the image loaded. How do I access the size (width or height) properties of an image? How do I automatically resize the window to suit the image size?
Thank you.
I have a gallery of pictures of sizes 640x480 or 480x640 pixels. When each thumbnail is clicked the large picture is loaded up on a popup window. However, I want this popup window to resize itself automatically depending upon the size of the image loaded. How do I access the size (width or height) properties of an image? How do I automatically resize the window to suit the image size?
Thank you.