View Full Version : reading the width and height of an image

09-24-2003, 11:24 PM
I am working on a page that will show a number of images that will be changed often. To make this easier I would like to just be able to load the file name and address into an array, and then have a script do all the work for me

For the most part I have it working fine. But as things stand I have to also add the width and height info of the image. I need to do this so that if an image is to big for the page the script can resize it to fit with out changing it's shape. What i would like to do is have the script check the file for this info.

is the a script the returns the width and hight of an image ???

thanks for taking the time to read this:)

Vincent Puglia
09-25-2003, 06:13 PM



09-25-2003, 11:00 PM
Thanks Vinny just what i was looking for...:thumbsup: :)