Please help with an error I am receiving with this tag. I have no idea why it is occurring or how to fix it. Running the demo.cfm that came with the tag works, however any other time I try to use it I get this error. Is there something I'm missing? The error and code is pasted below:
Error occurred in CFX_IMAGE tag
The message:
The required attribute ACTION was not passed to the tag.
The error occurred while processing an element with a general identifier of (CFX_AUTORESIZE), occupying document position (19:2) to (19:173).
-------------------------------------------------------------------------------
ACTION PAGE:
<CFSET imagepath="C:\Inetpub\<CFSET thumbpath="C:\Inetpub\<CFSET MAXSIZE="400">
<CFSET THUMBSIZE="100">
<CFSET PREFIX="thumb_">
<CFSET FORM.picture1 = "">
<CFSET FORM.picture2 = "">
<CFSET FORM.picture3 = "">
<CFSET FORM.picture4 = "">
<CFSET FORM.thumb1 = "">
<CFSET FORM.thumb2 = "">
<CFSET FORM.thumb3 = "">
<CFSET FORM.thumb4 = "">
<CFIF IsDefined("FORM.upload1"
AND FORM.upload1 IS NOT "">
<CFX_AUTORESIZE imagepath="#imagepath#" maxsize="#MAXSIZE#" thumbsize="#THUMBSIZE#" prefix="#PREFIX#" filefield="upload1" thumbpath="#thumbpath#" nameconflict="makeunique">
<CFSET FORM.picture1 = photo>
<CFSET FORM.thumb1 = thumbnail>
<CFIF IsDefined("FORM.upload2"
>
<CFX_AUTORESIZE imagepath="#imagepath#" maxsize="#MAXSIZE#" thumbsize="#THUMBSIZE#" prefix="#PREFIX#" filefield="upload2" thumbpath="#thumbpath#" nameconflict="makeunique">
<CFSET FORM.picture2 = photo>
<CFSET FORM.thumb2 = thumbnail>
</CFIF>
<CFIF IsDefined("FORM.upload3"
>
<CFX_AUTORESIZE imagepath="#imagepath#" maxsize="#MAXSIZE#" thumbsize="#THUMBSIZE#" prefix="#PREFIX#" filefield="upload3" thumbpath="#thumbpath#" nameconflict="makeunique">
<CFSET FORM.picture3 = photo>
<CFSET FORM.thumb3 = thumbnail>
</CFIF>
<CFIF IsDefined("FORM.upload4"
>
<CFX_AUTORESIZE imagepath="#imagepath#" maxsize="#MAXSIZE#" thumbsize="#THUMBSIZE#" prefix="#PREFIX#" filefield="upload4" thumbpath="#thumbpath#" nameconflict="makeunique">
<CFSET FORM.picture4 = photo>
<CFSET FORM.thumb4 = thumbnail>
</CFIF>
</CFIF>
<CFUPDATE DATASOURCE="database" TABLENAME="#FORM.category#" FORMFIELDS="adnumber,titlesize,titlecolor,border,bground,ctype,btype,picture1,picture2,picture3,picture4,thumb1,thumb2,thumb3,thumb4">
Any help would greatly be appreciated as this is a last resort.
Anthony
Error occurred in CFX_IMAGE tag
The message:
The required attribute ACTION was not passed to the tag.
The error occurred while processing an element with a general identifier of (CFX_AUTORESIZE), occupying document position (19:2) to (19:173).
-------------------------------------------------------------------------------
ACTION PAGE:
<CFSET imagepath="C:\Inetpub\<CFSET thumbpath="C:\Inetpub\<CFSET MAXSIZE="400">
<CFSET THUMBSIZE="100">
<CFSET PREFIX="thumb_">
<CFSET FORM.picture1 = "">
<CFSET FORM.picture2 = "">
<CFSET FORM.picture3 = "">
<CFSET FORM.picture4 = "">
<CFSET FORM.thumb1 = "">
<CFSET FORM.thumb2 = "">
<CFSET FORM.thumb3 = "">
<CFSET FORM.thumb4 = "">
<CFIF IsDefined("FORM.upload1"
<CFX_AUTORESIZE imagepath="#imagepath#" maxsize="#MAXSIZE#" thumbsize="#THUMBSIZE#" prefix="#PREFIX#" filefield="upload1" thumbpath="#thumbpath#" nameconflict="makeunique">
<CFSET FORM.picture1 = photo>
<CFSET FORM.thumb1 = thumbnail>
<CFIF IsDefined("FORM.upload2"
<CFX_AUTORESIZE imagepath="#imagepath#" maxsize="#MAXSIZE#" thumbsize="#THUMBSIZE#" prefix="#PREFIX#" filefield="upload2" thumbpath="#thumbpath#" nameconflict="makeunique">
<CFSET FORM.picture2 = photo>
<CFSET FORM.thumb2 = thumbnail>
</CFIF>
<CFIF IsDefined("FORM.upload3"
<CFX_AUTORESIZE imagepath="#imagepath#" maxsize="#MAXSIZE#" thumbsize="#THUMBSIZE#" prefix="#PREFIX#" filefield="upload3" thumbpath="#thumbpath#" nameconflict="makeunique">
<CFSET FORM.picture3 = photo>
<CFSET FORM.thumb3 = thumbnail>
</CFIF>
<CFIF IsDefined("FORM.upload4"
<CFX_AUTORESIZE imagepath="#imagepath#" maxsize="#MAXSIZE#" thumbsize="#THUMBSIZE#" prefix="#PREFIX#" filefield="upload4" thumbpath="#thumbpath#" nameconflict="makeunique">
<CFSET FORM.picture4 = photo>
<CFSET FORM.thumb4 = thumbnail>
</CFIF>
</CFIF>
<CFUPDATE DATASOURCE="database" TABLENAME="#FORM.category#" FORMFIELDS="adnumber,titlesize,titlecolor,border,bground,ctype,btype,picture1,picture2,picture3,picture4,thumb1,thumb2,thumb3,thumb4">
Any help would greatly be appreciated as this is a last resort.
Anthony