[thelist] Get image size programatically via anything besides a third party program

Chris W. Parker cparker at swatgear.com
Tue Apr 30 01:01:01 CDT 2002


hi.

(win2k/asp/vbscript)

i would like to be able to essentialy have a function where i pass the
path of an image and have the function spit back an array of the width,
and height of an image.

like so...

arrImageSize = imageSize("/images/picture.jpg")

the only way i've found that you can do this is by buying a third party
program called browserhawk. and i'd rather not do that. in fact i'd
rather not have to install/buy any third party program.

i'm going to assume that it's got to be possible if you utilize the
FileSystem Object in ASP. i'm just not sure how to go about that.


thanks for all the help.
chris.



More information about the thelist mailing list