Getting image width and height

PHaRGoTH

Newcomer
Joined
Apr 29, 2004
Messages
7
Hi all!

well this is not in ASP.NET but in ASP, but maybe you guys can give me a hand here.

Im building a site where on a back office you can upload images to be displayed on the frontend. The problme is that the image must be resised to fit in a frame. well the problem begins becouse you can upload images in portrait style or in landscape style and with diferent width and height and in diferent formats (jpg, gif etc...). so i dont know how to resise them in the frontend without "deforming" them.

is there anyway in ASP for me to get the picture width and height??

if you guys could at least find me a way to get the properties in one format i would be glad, i would just limit the type of files to be uploaded.

tnx.
 
Back
Top