If you mean after the file has been uploaded, yes.  If you mean before the
file is uploaded, I'm not sure.  There is a tag called cf_imagesize in the
tag gallery that does this.  It gives you the width, height, and type of a
gif or jpg.  I've used it several times and it works well.

Try this link:
http://devex.allaire.com/developer/gallery/SearchResults.cfm?keywords=images
ize

Brad

> -----Original Message-----
> From: Les Irvin [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, January 21, 2001 2:38 AM
> To: CF-Talk
> Subject: Evaluating height/width of a JPG?
>
>
> Is it possible to dynamically evaluate the width and/or height of
> a JPG or
> GIF that a client uploads to a site?  I want to take action based upon
> those parameters of a graphics file.
> Thanks,
> Les
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to