Retrieves the specified EXIF tag in an image.

imageGetEXIFTag(name, tagName) → returns string

Member Function Syntax


imageGetEXIFTag Argument Reference

name string

The image on which this operation is performed.

tagName string

The EXIF tag name to be returned.

Examples sample code invoking the imageGetEXIFTag function

Tag Syntax

This example shows how to retrieve one element from the EXIF information associated with an image.

<!--- Create a ColdFusion image from an existing JPEG file. ---> 
 <cfimage source="../cfdocs/images/artgallery/paul05.jpg" name="myImage"> 
 <!--- Retrieve the name of the software application used to create the original image. ---> 
 <cfset data = imageGetEXIFTag(myImage,"software")> 
 <!--- Display the name of the software. ---> 
 <cfdump var="#data#"> 

Using getEXIFTag member fucntion

CF 11+ Lucee 4.5+ Extract model of camera used for image on exiv sample page (

imgObj = imageRead("");
model = imgObj.getEXIFTag('Model');

Fork me on GitHub