Hey Scott,

why not try restricting on k size of the file, or does it have to be width
and height because of where and how the image is going to be displayed?

Shawn Regan
Applications Developer
Pacific Technology Solutions  

-----Original Message-----
From: Scott Van Vliet [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 22, 2001 2:24 PM
To: Fusebox
Subject: Getting Image W & H


Has anyone found a way to grab the width and height of an
image on the server using CF (non-CFX, preferably?  I know
of <CF_IMG>, however I want to use the width and height of
the image to restrict what a user uploads.

I have found a way to do this with VBScript (non-COM!) in ASP,
and I am calling the page using <cfhttp>, however I would like
to restrict this app to CF.

Thanks in advance.


--> scott van vliet
<-- senior web engingeer
    juxt interactive
    949<>752<>5898<>202
    [EMAIL PROTECTED]
    www.juxtinteractive.com

    "In uniqueness is the preservation
     of mankind..." - Greg Graffin
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to