Download & Extend

anyway to set an image for deletion prior to node_save()

Project:ImageField
Version:5.x-2.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Was sure this was easier than this - thought i could just set ['flags']['delete'], but nope.

anyone know how do this?

Comments

#1

It seems I got the same problem:

In my field list (done with image fUpload), when I click the remove button to delete an image from my content, it disappears. But when I click on the Save Node button, my changes are not saved. I get the same node, as if I had done nothing.

If anyone knows where it can come from ?

thanks

#2

not the same issue as i originally posted.. mine post was referring to programatticaly doing an img delete by setting something in the node object prior to running the command node_save()

#3

Status:active» closed (fixed)

Closing this issue after lack of activity. Little to no work is being done on the 5.x version of ImageField, so you'll be on your own.

nobody click here