Styling The ColdFusion 8 WriteToBrowser CFImage Output

<html>
<head>
	<title>ColdFusion 8 WriteToBrowser() Modification</title>
	<style type="text/css">
 
		img.frame {
			border: 2px solid #660000 ;
			}
 
	</style>
</head>
<body>
 
	<!--- Read image into memory. --->
	<cfimage
		action="read"
		source="./mud_monster.jpg"
		name="objImage"
		/>
 
	<!--- Write to browser with custom attributes. --->
	<cfset ImageWriteToBrowserCustom(
		Image = objImage,
		Alt = "Mud Monster - She So Crazy!",
		Class = "frame",
		Style = "border-width: 10px ;"
		) />
 
</body>
</html>

For Cut-and-Paste