<!DOCTYPE html PUBLIC "- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>ColdFusion 8 Temporary Image URL</title>
</head>
<body>
<cfoutput>
<h1>
Getting The Source of a Temporary ColdFusion Image
</h1>
<cfimage
action="read"
source="./cute_blonde.jpg"
name="imgGirl"
/>
<cfset strImageURL = ImageGetUrl( imgGirl, "png" ) />
<p>
URL: #strImageURL#
</p>
<p>
<img
src="#strImageURL#"
width="#imgGirl.GetWidth()#"
height="#imgGirl.GetHeight()#"
alt="Cute blonde girl"
title="This is a temporary photo generated by ColdFusion 8"
border="0"
/>
</p>
</cfoutput>
</body>
</html>