[EMAIL PROTECTED] wrote: > > Does anyone know a way to check a image file's height and width before or > after an image has been uploaded? I'm restrictinig the file type for *.jpg > only.
Search the archive, there was a discussion.. last week maybe... Massimo has a javascript that detects image dimensions BEFORE uploading. to check after, you can use image.cfc (www.opensourcecf.com/imagecfc) .. probably more reliable since it doesn't require javascript. > I want to take the height and width values of the image being uploaded and > see if the values fall within an acceptable height and width range. You could also just resize the image (using image.cfc) to fit within the range. Rick ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259902 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

