Whatever message this page gives is out now! Go check it out!

ImageGetIPTCTag

Last update:
May 18, 2026

Description

Retrieves the value of the IPTC tag for a ColdFusion image.

Returns

The value of the IPTC tag.

Category

Function syntax

ImageGetIPTCTag(name, tagName)

See also

History

ColdFusion 8: Added this function.

Parameters

Parameter
Description
name
Required. The ColdFusion image on which this operation is performed.
tagName
Required. The IPTC tag name whose value is returned.

Usage

The ImageGetIPTCTag function applies only to JPEG images. If you try to retrieve metadata for Base64, BLOB, or other image types, ColdFusion generates errors.

Example

<!--- This example shows how to retrieve the caption for a JPEG file. ---> 

<!--- Create a ColdFusion image from a JPEG file. ---> 

<cfimage source="../cfdocs/images/artgallery/paul05.jpg" name="myImage" action="read"> 

<!--- Retrieve the camera make used to take the original picture. ---> 

<cfset cameraMake=ImageGetIPTCTag(myImage,"make")> 

<cfdump var="#cameraMake#>"

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page