Closed (works as designed)
Project:
Upload Image
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Sep 2007 at 10:26 UTC
Updated:
7 Sep 2007 at 21:26 UTC
Looks like the upload_image process creates the same file in the both "files/images" and in "files/" directories
In a bigger website (in my case 35000 images) this sucks away lots of hard disk space.
If this behavior is normal, maybe a [delete file from "files" directory if we're loading an image"] function would solve this?
A cron script deleting every image in the "files/" directory will solve this without creating problems to the system.
What you think about?
cheers!
Comments
Comment #1
drewish commentedyeah, that's the way it works. it sounds like you might be better off with the image_attach.module included with the image module.