Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I have a new installation (when previous sites image_cache profles always worked beautifully:)
Users are unable to change their profile picture .. even when you 'delete' it first, and then go back to 'edit profile' upload a new image, after that the old one still shows.
I've cleared cache, cleared my browser cache, but still no joy. What could be causing this please?
Look forward to any reply, and thank you.
Lilian
Comment | File | Size | Author |
---|---|---|---|
#15 | VCX.PNG | 500.41 KB | rohinishendge |
Comments
Comment #1
Liliplanet CreditAttribution: Liliplanet commentedI'm sorry, me bad. It was the browser cache. If a user reloads the page, correct picture shows.
Comment #2
mariner702 CreditAttribution: mariner702 commentedI have the same exact problem. When a user deletes his picture and replaces it with a new one, he will see his new picture in the user profile page. However, his new picture is not shown in his authored nodes but rather the old picture is still present. Moreover, this problem exists when he doesn’t delete his old picture but just replaces it with a new uploaded picture. I would like to see his new picture in both his profile page and content pages upon saving his settings. The image cache presets I have are “node image profile” for content pages, and “profile” for profile pages. I’ve tried clearing the caches, running the cron, and even stopping/starting the web server, but with similar results. Could there be a problem with my path?
Comment #3
andypostIs this issue really cause by browser cache. Can we fix this or it's imagecache issue?
Comment #4
andypostConfirm, this is bug, suppose imagecache
To reproduce just change user picture with a file having the same extension as already $user->picture
Comment #5
andypostMarked #575978: User picture does not change as duplicate
Suppose imagecahe should append image with ?letter as JS-cached files in core or use third parameter in
imagecache_create_url()
intheme_imagecache()
Comment #6
oddible CreditAttribution: oddible commentedAny further information on this? Any possible work-arounds? Currently users can only delete their picture or show it. They cannot replace the first picture that they uploaded.
Comment #7
mattiasj CreditAttribution: mattiasj commentedI am suffering from this issue as well on a community site, any ideas?
Comment #8
robby.smith CreditAttribution: robby.smith commentedI am experiencing this as well. Users are confused because they need to force refresh their browser to see the new image. Can anyone help?
Comment #9
alisonDitto -- this is really weird, really stubborn caching (and my site is still in development so I have all those caching options at admin/settings/performance disabled). Also, though I have imagecache installed, I'm not using it for user pictures.
Comment #10
ceerwk CreditAttribution: ceerwk commentedsubscribing
Comment #11
elimuir CreditAttribution: elimuir commentedThe problem is actually with the user module. Please see http://drupal.org/node/668058 for a patch
Comment #12
alisonOutstanding, thank you elimuir!
Comment #13
andypostDuplicate of #668058: Resubmitting a user picture does show the first uploaded picture
Comment #14
arafinshaon CreditAttribution: arafinshaon commentedfinally i fixed this tnx
Comment #15
rohinishendge CreditAttribution: rohinishendge commented