For Programmers: Free Programming Magazines  


Home > Archive > ASP > March 2008 > determine images width and height









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author determine images width and height
magix

2008-03-20, 6:57 pm

Hi,

Is there a way to determine the actual width and height of a image file ?
I'm using aspsmartupload to upload the image, how can determine and save the
width and height value ?
seems that aspsmartupload doesn't have this property.

If so, is there any method to determine it in asp in the simpliest way? I
will prefer to maintain the aspsmartupload method.

thanks.

cheers
Magix


Bob Barrows [MVP]

2008-03-20, 6:57 pm

magix wrote:
> Hi,
>
> Is there a way to determine the actual width and height of a image
> file ? I'm using aspsmartupload to upload the image, how can
> determine and save the width and height value ?
> seems that aspsmartupload doesn't have this property.
>
> If so, is there any method to determine it in asp in the simpliest
> way? I will prefer to maintain the aspsmartupload method.
>

See
http://classicasp.aspfaq.com/files/...s-from-asp.html

Two approaches are listed.
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.


Jon Paal [MSMD]

2008-03-20, 6:57 pm

try this...

http://www.4guysfromrolla.com/webte.../imgsz.asp.html


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com