cfimage error
I've been using cfimage successfully throughout my site until this page when i get the following
http://64.78.25.130/results.cfm?Form__category=credenza
The following information is meant for the website developer for debugging purposes.
Error Occurred While Processing Request
Flash
Flash
But this is not a flash site!
The error happens when it tries to write the image -- the bolded line below. This code checks out on other pages of my site and doesnt throw an error. I have no idea what that "flash flash" error means. I'm running coldfusion version 8,0,1,195765. Permissions on my server are set up correctly for the directory in question. Thanks for any tips.
<cfset currentPath = getBaseTemplatePath() >
<!--- original location --->
<cfset dbloc = getDirectoryFromPath(currentPath) & 'images\products\#PHOTO#' >
<!--- image processed location --->
<cfset cfProcessLocDir = getDirectoryFromPath(currentPath) & 'pix\'>
<cfset cfProcessLocThumbsDir = getDirectoryFromPath(currentPath) & 'pix\pixthumbs'>
<cfset cfProcessLoc = getDirectoryFromPath(currentPath) & 'pix\#PHOTO#' >
<cfset cfProcessLocThumbs = getDirectoryFromPath(currentPath) & 'pix\pixthumbs\#PHOTO#' >
<cfif not FileExists(cfProcessLoc)>
<cfif FileExists(dbLoc)>
<cfimage source="#dbLoc#" name="imgforResize">
<cfset ImageSetAntialiasing(imgforResize,"on")>
<cfset ImageScaleToFit(imgforResize,"380","","highQuality")>
<cfif not DirectoryExists(cfProcessLocDir)>
<cfdirectory action = "create" directory = "#cfProcessLocDir#" >
</cfif>
<cfimage source="#imgforResize#" action="write" destination="#cfProcessLoc#" overwrite="true">
</cfif>
</cfif>
<cfif not FileExists(cfProcessLocThumbs)>
<cfimage source="#cfProcessLoc#" name="imgforResize">
<cfset ImageSetAntialiasing(imgforResize,"on")>
<cfset ImageScaleToFit(imgforResize,"150","","highQuality")>
<cfimage source="#imgforResize#" action="write" destination="#cfProcessLocThumbs#" overwrite="true">
</cfif>
