Several people have mentioned this problem with the image_attach module : you can't remove attached images unless you delete them.
I couldn't get the multiple attachment patch (which contains detachment) to work with the v5 version, so I checked out the code and it was very simple fix.
I made this diff from the current release for 5 and its just a few lines of code that checks if their is a '0' on the submitted form and then if so deletes all attached images.
Hope its of use....
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | image_attach.module.combined_0.patch | 2.23 KB | smoothify |
| image_attach.module.detach.patch | 1.09 KB | smoothify |
Comments
Comment #1
smoothify commentedHere is a combined patch for if you want to use this with my other recent patch that allows limiting images by the current user (http://drupal.org/node/124273)
Comment #2
drewish commentedplease don't create duplicate issues: http://drupal.org/node/62025