I'm assuming there is already an existing image uploaded/submitted in the current node.
If you select a new image and click upload, imagefield updates properly by removing the old file from the DB and filesystem. But if you select a new image but click on the Submit button of the node instead, the new file gets inserted but the old file is still in the DB and filesystem. I'm guessing that by clicking straight at that submit button, the hook does not call imagefield_file_update() at that point of time. I can't figure out where, else I'd submit a patch.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | imagefield_single_delete.patch | 2.31 KB | quicksketch |
Comments
Comment #1
quicksketchThis has been correct now in CVS with the attached patch. It has been committed to all branches.
Comment #2
(not verified) commented