I have a site that uses the {$photo_editcontrol}. It works great for deleting an associated file when the record is deleted, BUT
If you edit the record, it just uploads new files and keeps the old files too. Thus instead of cleaning out the old pictures when updated, it just keeps the old ones in the folder also. ..
I just checked in an application i have made in PHPR 5.2 I am experiencing the same thing. Delete record deletes the file, but deleting the file, deletes the file name, but the file itself remaing in the upload folder.