Closed (duplicate)
Project:
ImageField
Version:
6.x-3.3
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 May 2010 at 16:02 UTC
Updated:
29 Jun 2010 at 22:49 UTC
Forgive me if this has been requested elsewhere, but I've not seen it in the queue through the last year...
I'd like to have the option (as an administrator) when a file already exists to:
- Keep the existing file, renaming the old one (slightly different than the current behavior), or
- Replace the existing file
Currently, ImageField renames the new file, resulting in image_0.jpg, image_1.jpg, etc. This has the potential to bloat the images directory, which this user doesn't need.
Comments
Comment #1
quicksketchThis has been discussed several times. See:
#715572: Filefield workflow: Add a replace option with file field next to remove
#298148: field_file_save_upload (field_file.inc): ability to introduce alternative file
#288116: Files are not deleted after deleting filefield values
#427212: How to overwrite existing file?