Closed (duplicate)
Project:
Image
Version:
6.x-1.x-dev
Component:
image.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Feb 2006 at 06:12 UTC
Updated:
7 Apr 2006 at 05:54 UTC
Using HEAD versions of Drupal and image.module, when I add a new image the files are created in both files/images and files/images/temp. I presume that they are not being deleted from temp.
I haven't looked at the code but I don't understand a couple of things.
1. Why isn't the default files/tmp used?
2. Why are the files copied instead of just moved?
3. Why are there 2 copies of the original file (file.jpg, file_0.jpg)?
Comments
Comment #1
tangent commentedTo be clear, here is a list of files I have in my filestore after adding an image node.
files/images/DSCN1507.JPG
files/images/DSCN1507.large.JPG
files/images/DSCN1507.medium.JPG
files/images/DSCN1507.preview.JPG
files/images/DSCN1507.thumbnail.JPG
files/images/DSCN1507_0.JPG
files/images/temp/DSCN1507.JPG
files/images/temp/DSCN1507.large.JPG
files/images/temp/DSCN1507.medium.JPG
files/images/temp/DSCN1507.preview.JPG
files/images/temp/DSCN1507.thumbnail.JPG
Comment #2
Ken Collins commentedI'm not the maintainer, just asking, I had thought these were cleaned up when cron.php ran?
Comment #3
tangent commentedAck. I don't run cron on my site anymore since a cron snafu that made my host disable my account so that would explain it if true.
It looks like this issue depends on http://drupal.org/node/5961 which is stalled for a few weeks. Let's jump on it.
Comment #4
walkah commentedfixed as per #51600 -- marking as dup.