Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
After I've uploaded an image I usually see 3 images in the node/##/edit URL
In the attachments section there are:
1) THUMBNAIL eg image.thumbnail.jpg
2) PREVIEW eg image.preview.jpg
3) ORIGINAL eg image.jpg
This section gives me the option to either list or delete these files.
When I select the "delete" checkbox and then hit "submit" at the bottom of the page, the chosen file disappears from the "Attachments" box, but it does NOT get deleted from the directory.
It would be nice to either have the DELETE checkbox work correctly or to remove the DELETE option (since it appears to be broken).
Comment | File | Size | Author |
---|---|---|---|
#3 | upload_module_delete.patch | 979 bytes | dtan |
#2 | forms_noreq_validate_0.patch | 1.03 KB | dtan |
#1 | upload.module.delete.patch | 979 bytes | dtan |
ImageScreenshot.jpg | 66.6 KB | jamida |
Comments
Comment #1
dtan CreditAttribution: dtan commentedActually a patch to the upload.module. The filepath was not being recognized. This was also the case when the entire node was being deleted.
Comment #2
dtan CreditAttribution: dtan commentedhtml in patch again :(
Comment #3
dtan CreditAttribution: dtan commentedwhat the?
Comment #4
mfb+1
Comment #5
drummSetting the correct project/component.
Comment #6
Hosting Geek CreditAttribution: Hosting Geek commented+1
Comment #7
magico CreditAttribution: magico commentedCan someone still reproduce this problem? I couldn't.
Comment #8
magico CreditAttribution: magico commented