Closed (fixed)
Project:
ImageField
Version:
6.x-3.9
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 May 2012 at 16:57 UTC
Updated:
28 Apr 2013 at 19:40 UTC
Is there a way to implement this, that someone can point me towards?
I'd like to setup a node edit form with a button to 'remove all' existing images. Is there an existing function, or best way to approach this, to make sure I find and remove the correct info?
Thanks
Comments
Comment #1
RAFA3L commentedAny idea?
Comment #2
quicksketchAt this point, we probably won't be adding new features to ImageField module. Code-wise, you simply need to remove the items from the $node object and the corresponding files will be deleted upon calling node_save().