<cfimage action="info" source="../images/BeBatman.jpg" structName="getImageInfo" />
<cfdump var="#getImageInfo#" />

or by using the imageInfo() as

<cfdump var="#ImageInfo(myImage)#">

Both of which should you image ...

">

<cfimage action="info" source="../images/BeBatman.jpg" structName="getImageInfo" />
<cfdump var="#getImageInfo#" />

or by using the imageInfo() as

<cfdump var="#ImageInfo(myImage)#">

Both of which should you image ...

" />

Get image info in ColdFusion

The following example shows how you can get an image’s information (width, height, alpha, etc) using the <CFIMAGE> tag in ColdFusion,

Be Batman

<cfimage action="info" source="../images/BeBatman.jpg" structName="getImageInfo" />
<cfdump var="#getImageInfo#" />

or by using the imageInfo() as

<cfdump var="#ImageInfo(myImage)#">

Both of which should you image information in a nice cfdump format.

Be Batman cfdump

By @Aniruddha Barapatre in
Tags : #ColdFusion,

Comments !