Is there a way when you load in a picture that you can know how big the picture is? For example if I had this:
Code:
<IMG SRC='picname.jpg' BORDER=1>
and when you right click the image in windows explorer and click properties and see that the image is actually 200 pixels wide by 300 pixels tall that I could read in the values of 200 and 300 while it is loading to maybe resize it on demand?
Basically I could have a graphic load in that is 300 wide by 200 tall or one that is 200 wide and 300 tall. In the box it shows in, I want to be able to tell this so on one there can be white space on the side and the other the white space would be on the top and bottom.
Chris