What are people doing to delete images from flexinodes?

The only thing I can imagine now is to go in w/ an ftp program and delete images. Is there another way?

Thanks for any sort of tip ---

Comments

netupgrades’s picture

Title: how to delete images from flexinodes » patch to delete image in flexinode

Found a solution that seems to work. With little testing done, I do note that it does give you a little checkbox to delete images. Thanks for that patch.

iandit’s picture

hmmm... may I ask where you got the patch?

Bèr Kessels’s picture

Component: User interface » Field type: image
Category: support » feature

Making this a feature request. This is somthing that should be dealt with in image field inc.

mo6’s picture

Status: Active » Needs review
StatusFileSize
new1.04 KB

This patch adds a checkbox under each image field which can be selected to delete the image after submitting the node. The image field is grouped with the checkbox.

Bèr Kessels’s picture

I`ll have to give it a more thourough review and test, but it looks good.

I am no fan of the 'delete' checkbox, myself, i think it is very un-userfriendly. However, its done like this all trough Drupal, so as a quick fix, I think this is by far the best option. Maybe we can open a differrent issue later, to improve this interface issue separately, but not now.

That said, I would love reviews from others too, so folks, if you need this, please test and post your findings here! Thanks.

A small note, nothing serious to George: if you patch, please try to use the flags -u and -p, its the Drupal standard and it makes patches a lot more readable. This is not critique, its just to help you learn The Drupal Way of things ;).

mo6’s picture

StatusFileSize
new2.32 KB

Here's a new (unified) patch which changes the weight of the fields inside the (image) fieldset. Also the name of the checkbox has been changed (a little).

mo6’s picture

StatusFileSize
new2.4 KB

I noticed that the patch doesn't actually remove the image files. After some digging into the internals of flexinode and field_image (and some caffeine) I found out why. Here's a new patch that works (hopefully!)