No cleaning of picture files in imagecache, when deleted a picture or a node.

Comments

iva2k’s picture

Category: bug » feature

Thanks for the report.

Side note: I don't think it is a bug since nothing is really broken. There is a workaround for now - one can flush imagecache cache manually (refer to imagecache documentation). Changing to feature request.

The feature could be quite simple. There is plenty of discussions in imagecache's issue queue. There is imagecache_file_delete($file) function that needs to be called when file is deleted. I think it should be called from the core upload and comment_upload modules (D7 goes that path) or at least in appropriate imagecache 6.x hooks to cover missing core features. I fear it will take some time to get it done there though. At the same time it does not hurt to make iTweak Upload to worry about that in its hooks, since it glues uploads with imagecache in the first place. So I will take up on a solution.

iva2k’s picture

Assigned: Unassigned » iva2k
Status: Active » Fixed

Issue fixed in iTweak Upload 6.x-2.x-dev as of Feb 20 2010.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.