I wrote a couple of functions that handle both creation of
files and deletion based on a single image upload. Prior to the 8.1
update these functions worked great but it appears after the 8.1
update it breaks. It appears that the Image functions lock the
original uploaded file. SO basically my create script breaks at the
end when it tries to rewrite the final version. Also, during a
delete, it deletes all files but the original uploaded file. So I
tried to go ahead and delete the file myself from the server and it
tells me it is in use. This is where it leads me to think that the
file is locked by CF. As soon as I shut CF down, I can delete the
file with no problem.
The code is as follows for both of my functions:
Giancarlo Gomez aka "JC"