Images disappear and get deleted automatically after some time!?
gorefiend - September 6, 2008 - 07:08
| Project: | Node Images |
| Version: | 6.x-2.x-dev |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Description
using Drupal 6.4:
only fullsize images just disappear and get deleted automatically from the /sites/default/files/node_images folder, but all *_tn.jpg stay there.
i tried many different combinations of settings but everything failed to keep the fullsize files after some time. i even tried unloading other image modules but its same..
the 'delete any node image' & 'edit any node image' does not work for anonymous user permissions, haven't tried for authenticated user yet.
i also tried many set of actions (like editing a node, changing weight of images, etc) to see if the image gets deleted from the folder, but nothing..
i don't know if cron has something to do with it..?

#1
Ah so I am not the only one. This is a very strange bug and I am not exactly sure what's happening.
I am running Drupal 6 and the latest dev version of node_images.
C
#2
I just fixed this bug in the latest CVS version of node_images.module (rev. 1.11.2.9). It was caused by the records left in the files table after the upload, that were treated as temporary files to be deleted on cron run. Thanks for the bug fixing, guys.
#3
Automatically closed -- issue fixed for two weeks with no activity.
#4
i'm having the same problem a i have the last version
#5
i'm having the same problem a i have the last version
#6
I have the same problem too.
#7
latest (Sep 17th) 6.x-2.x dev version, exact same problem as the original post. any workarounds?
#8
i suspect this happens on cron run.
is there a 6.x version of node images without this bug?
#9
Exactly this problem here too. I think it deserves urgency. We're experiencing data loss, which is very unpleasant.
Hans-Georg
#10
I guess the fix was lost in one of the latest uploads, I apologize for the inconvenient. Can you check the latest CVS version of node_images.module (v1.11.2.12)? Thanks.
#11
Stefano, perhaps you should first have a look yourself. The latest package has 1.11.2.11 and HEAD has 1.10.
Don't you think it would be better if http://drupal.org/project/node_images offered the proper version for download?
#12
hgmichna, perhaps you should first take a look at the latest CVS release in the 6.2 branch: http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/node_images...
#13
Ah, thanks! I didn't look at branches. Don't know the Drupal CVS procedures.
The new version now seems to appear in the normal download. Thanks for that! Makes it easier.
By the way, here is a quick and dirty alternative node_images.css, zipped, for those like me who have relatively big pictures. To see it in action, see this example: http://blog.michna.com/en/node/219/image_gallery
#14
I can report that in node_images.module version 1.11.2.13 the error seems to be fixed. I entered one test image, and it is still completely there after 24 h. Thanks, stefano73.
This version is now also on the normal download page.
If somebody else can confirm that the bug is gone, please set the status to fixed.
#15
I have had the disappearing images situation happen twice. I've searched the situation here and I see several different versions of the problem. Most of them are pretty old, affecting D4 and D5. This one is the closest one I've seen to what is happening on my site. I did not want to start a new issue, especially if I don't know what is causing the problem.
I am not using the node_images module, but I do see a "temp" directory in various directories within "files" that I do not recall seeing before.
It happened after different actions preceded it. The first time it happened, nearly all the images in the "files" dir disappeared - but not all. The second time it was only images in the (top level of) files and images directories. Other directories within files, so far, do not seem to be affected.
Patch with reset files_images_permanent looks promising. Image attached from http://drupal.org/node/312443
Possible problem in SWF Tools module with 1pixelout?