I ran into an issue today while trying to resize an image with CFIMAGE that was just uploaded with CFFILE. Apparently there are (were) a number of bugs when these two tags are used in succession. In my case, the image would be uploaded fine, and then magically be deleted by the CFIMAGE tag, at which point an error would be thrown because the file could not be found.
Code:
<!--- upload image ---> <cffile action="upload" destination="#expandpath("/images/sales/")#" filefield="image" nameconflict="makeunique"> <!--- resize it ---> <cfimage action="resize" width="640" height="480" source="#expandpath("/images/sales/#file.serverfile#")#" destination="#expandpath("/images/sales/#file.serverfile#")#" overwrite="yes">
Turns out there is a simple (hot)fix for this: http://kb2.adobe.com/cps/403/kb403411.html