when i upload a new avatar in my account, thumbs created with imagecache are not updated... i need to flush manually presets to show correct thumbs

how can i solve this problem?


Title:i need to flush manually?Flush cache when user picture changes
Version:5.x-2.1» 5.x-2.x-dev
Assigned:Unassigned» smk-ka
Category:support» bug
Priority:Critical» Normal
Status:Active» Needs review
new889 bytes

Please test attached patch.

this work correctly for me

I have seen a similar issue. The thumbnail eventually gets updated, but not immediately.

Version:5.x-2.x-dev» 6.x-1.0-alpha1
Status:Needs review» Reviewed & tested by the community

Works perfectly, even with Drupal 6!

This patch (5.x-2.x-dev) worked perfectly for me.

Version:6.x-1.0-alpha2» 6.x-1.0-alpha1

Would it be possible to change the way this works?
The problem is that if I update my user picture through for example phpbb (bridged), it doesn't flush the cache and the imagecache-generated image remain the same :/
Imagecache should some way check on a gobal basis if the user picture is the newest.. don't know how, but maybe some of you do?

Edit: ...or there should be another way of trigging it to flush...

Edit: It gets automatically flushed once I visit my drupal profile...but I don't want to use it, but use the phpbb3-profile instead...


Version:6.x-1.0-alpha1» 6.x-1.0-alpha2

patching file imagecache.module
Hunk #1 FAILED at 484.
1 out of 1 hunk FAILED -- saving rejects to file imagecache.module.rej

Version:6.x-1.0-alpha1» 6.x-1.0-alpha2
new878 bytes

Re-rolled for HEAD / 6.x branch.

Status:Reviewed & tested by the community» Needs review
new947 bytes

I think it'd be better to try and avoid a warning by using !empty().

Status:Needs review» Fixed

went ahead and committed the patch from #10.

Status:Fixed» Closed (fixed)

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

Version:6.x-1.0-alpha2» 5.x-2.2
Status:Closed (fixed)» Patch (to be ported)


Patch was only committed to 6.x, but was for 5.x originally. (version changed in #4)

well the patch no longer applies so it'll need a re-roll.

Status:Patch (to be ported)» Reviewed & tested by the community
new904 bytes


Status:Reviewed & tested by the community» Fixed

thanks. committed to DRUPAL-5--2

Status:Fixed» Closed (fixed)

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