Using ASPImage to get image dimensions

Hello,

ASPImage is available on my server.  If possible, I'd like to use it to get the dimensions (w x h) of an image that already exists on the server.  Can you please provide the code.  If this is not possible, can you suggest another way to get the dimensions of an image that exists on the server.

Thanks!
ftbadolatoAsked:
Who is Participating?
 
hongjunConnect With a Mentor Commented:
check out documentation
http://www.serverobjects.com/comp/Aspimage.htm

hongjun
0
 
hongjunCommented:
To get dimension, you can do this simply using javascript.
    alert(document.images["image_name"].width);

hongjun
0
 
ftbadolatoAuthor Commented:
Nevermind...figured it out.
0
 
hongjunCommented:
0
All Courses

From novice to tech pro — start learning today.