Closed (fixed)
Project:
ImageField
Version:
6.x-3.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Jun 2009 at 15:27 UTC
Updated:
14 Nov 2009 at 18:31 UTC
Hi,
I'm using CCK 6.x-2.2, the scenario is the following: the user creates a new node and uploads an image to it. The system shows it using ImageCache for resizing proposes so it generates a new one. Later, the user deletes that image and uploads another one with the same name... ImageCache's image is not refreshed so the system shows the old one !
Thanks in advance,
Leandro.
Comments
Comment #1
quicksketchIt's actually ImageCache that should be responsible for deleting these images since it created them. It should implement hook_file_delete() and delete those images when the original is deleted.
Actually, I just took a look at ImageCache, and it *is* doing this:
So it should be doing this already. Are you using the latest version of ImageCache?
Or... are you referring to the thumbnail next to the uploaded image when editing the node? That's not actually ImageCache at all, ImageField is doing that on it's own.
Comment #2
macramole commentedMm. That's strange, I was sure that was the problem i was having. Sorry then.
Thanks for the reply,
Leandro.
Comment #3
OnlineWD™ commentedI think this is imagecache issue http://drupal.org/node/362356#comment-1743850.
Comment #4
pmkanse commentedHi
I was getting an error while removing image from node.
Error was :
An HTTP error 500 occured. filefield/ahah/ed_classified/field_addlogo/0
So i checked my server error log.It was showing some error which was related to the Content taxonomy module.
So i made one of my taxonomy term default, and then "miracleeee".... i am able to remove the image from the node.
Comment #5
quicksketchpmkanse, that report doesn't seem to have to do with anything in this issue. I'd suggest adding your comment to #485708: Unable to remove a field (HTML error 500), which seems much more on topic.