Retrieves the width of the specified ColdFusion image.
imageGetWidth(name)
→ returns numeric
someImage.getWidth()
CF 11+ Lucee 4.5+ Extract the width of an image
imgObj = imageRead("http://cfdocs.org/apple-touch-icon.png");
width = imgObj.getWidth();
writeOutput(width);
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.