Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
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.
Comments
Comment #1
iva2k commentedThanks 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.
Comment #2
iva2k commentedIssue fixed in iTweak Upload 6.x-2.x-dev as of Feb 20 2010.