After doing a cffile action=”upload”, I’d like to check the width (assuming it’s a image). I’m currently using CF8.
Is there a built-in function to get the width of an image? If there’s a built-in function in CF9, I guess I need to know that for when we update.
According to LiveDocs, the functionality exists in CF8.
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=functions_h-im_32.html#5164681
The example provided by Adobe should get you going: