Whatever message this page gives is out now! Go check it out!
ImageGetWidth(name)
<!--- This example shows how to retrieve the width of an image. ---> <!--- Create a ColdFusion image from an existing JPEG file.---> <cfimage source="../cfdocs/images/artgallery/jeff05.jpg" name="myImage"> <!--- Get the width of the image. ---> <cfset width=#ImageGetWidth(myImage)#> <!--- Display the width of the image in pixels. ---> <cfdump var=#width#>
Share this page
Register for Adobe ColdFusion Summit 2026
Register now
AI TRAINING
Build ColdFusion AI workflows
Learn more