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

liquidcms - August 5, 2009 - 20:54
Project:ImageField
Version:5.x-2.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

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

anyone know how do this?

#1

seren10pity - October 30, 2009 - 09:33

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

liquidcms - November 3, 2009 - 06:31

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()

 
 

Drupal is a registered trademark of Dries Buytaert.