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

drewish’s picture

Status: Active » Closed (works as designed)

yeah, that's the way it works. it sounds like you might be better off with the image_attach.module included with the image module.