Installation guide
The following table lists the variables returned by the CFIMAGE tag. 
Variable  Description 
CFIMAGE.SUCCESS  Contains the value TRUE or FALSE to indicate whether image processing was success-
ful. 
CFIMAGE.ERRORTEXT  If processing was unsuccessful, contains a text message describing the error. 
CFIMAGE.WIDTH  For ACTION=EDIT, the width in pixels of the new image. For Action=INFO, the width in 
pixels of the image. 
CFIMAGE.HEIGHT  For ACTION=EDIT, the height in pixels of the new image. For Action=INFO, the height in 
pixels of the image. 
CFIMAGE.PATH  The full physical path to the image. 
CFIMAGE.NAME  The name of the new image file. 
CFIMAGE.FILESIZE  The size in bytes of the new image file. 
The following example displays two images – the original image “picture.gif”, and the 
processed image “newPicture.gif”. 
<cfimage action="edit" 
 srcfile="picture.gif" 
 destfile="newPicture.gif" 
  uridirectory="yes" 
  text="Copyright 2003"   
 width="50%" 
 height="50%" 
 fontsize=20 
 fontcolour="violet" 
 position="SOUTH" 
 nameconflict="overwrite"> 
<img src="picture.gif"> 
<img src="newPic.gif"> 
The following example displays information about an existing image file named 
“picture.jpg”. 
<cfimage action="info" srcfile="picture.jpg"> 
<cfoutput> 
Success : #cfimage.success# <BR> 
Dimensions : #cfimage.width# x #cfimage.height# <BR> 
Path : #cfimage.filepath# <BR> 
Name : #cfimage.filename# <BR> 
Size (bytes) : #cfimage.filesize# <BR> 
Error message : #cfimage.errortext# <BR> 
</cfoutput> 
4.5.7 CFIMAP 
The 
CFIMAP tag allows you to interact with both IMAP and POP mail servers (CFIMAP 
may be used instead of 
CFPOP to interact with POP mail servers). Generally, the sequence 
of steps to interact with a mail server is: 
BlueDragon 6.1 CFML Compatibility and Reference Guide    27   










