ASP Forum
image attributes
webdesign | Posted 7:37pm 2. January 2008 Server Time |

Is there a way to find the height and width of an image using asp?

I searched the forum.  No I don't want to resize my images.  Just get the info for height and width.

Thanks
enigma | Posted 7:54pm 2. January 2008 Server Time |

webdesign,

http://www.imagemagick.org (ImageMagick) is free, one of the best, and cross platform/web client compatible.

Cheers,
enigma
webdesign | Posted 9:13pm 2. January 2008 Server Time |

enigma,

cool program......

I just want to get the info for height and width.

Of all the things you can do with asp, surely there must be a simple answer to my query.

help.

Thanks
katy8439 | Posted 4:06am 3. January 2008 Server Time |

You can do it with javascript. Have a look at

http://www.aspandjavascript.co.uk/javascript/javascript_api/get_image_width_height.asp

ASP Wise

http://www.4guysfromrolla.com/webtech/050300-1.shtml

might help - it's more about resizing though I think but may provide a starting point. Personally I've used components in the past to get image information - check out ASPJpeg



Reply to Post image attributes



Back to Forum Page