Thanks for your help, my line does have "write" permissions
set, is this the line you mean?
<cfimage source="#thumbImage#" action="write"
destination="#destination#">
Attached is the full code,
As I understand it the full image is loaded into the gallery
folder, the server file is read and scaled with
<cfset svrFile = "#File.ServerFile#" />
<cfimage name="thumbImage"
source="#ExpandPath("#application.galleryPath##galleryName#/#svrFile#")#"
/>
<cfset ImageScaleToFit(thumbImage,200,"","bicubic")>
The last bit is where the problem is where it it trying to
write the file
<cfset
destination="#application.galleryPath##galleryName#/thumbs/#svrFile#">
<cfimage source="#thumbImage#" action="write"
destination="#destination#">
Is it trying to use svrFile and scale and save it at the
same time?
> An exception occured while trying to write the image.
> Ensure that the destination directory exists and that
Coldfusion has permission to write to
That is a bug. Check your patches. There was a fix for that
issue:
Patch for CFImage and Image functions in ColdFusion 8.0.1
http://kb.adobe.com/selfservice/viewContent.do?externalId=kb403411