Bug Report: users cannot change their profile pic
It seems that whenever a user goes to upload a different profile pic, the site will not show it. No matter whether the image is deleted first, or simply overwritten, the site stubbornly decides to hold onto the original image and display it.
Steps To Reproduce:
1. Visit the user’s account page.
2. Delete the old image.
3. After deletion, the old image is gone.
4. Upload a new image, and save the form.
5. The original image is once again displayed on that user’s account page.
- Login to post comments
Investigating
hmm, odd. I’ve seen at least three profile picture changes, by users… first I’ve heard of a problem…. perhaps we’ve changed something since those pictures changed. I will look into.
Update, the image changes, but the user doesn't see it
After uploading a new user picture, the image has changed everywhere else in the site except for the user’s own account page, making them think that the new upload was unsuccessful.
reload
you have to reload your page. this is an ancient Drupal bug, where whatever image you upload gets renamed to picture-[uid].jpg so your browser can’t tell that its changed.
On the rest of the site its being imagecached, which (I think) is now smart enough to flush its cache when you reupload a pic, but on user/edit its just your raw picture. Imagecaching it even on user/edit can solve the problem.
Yeah, umm, rule 35!
There’s a module for that. It’s called imagecache_profile_pictures, and it solves this ‘ancient’ Drupal bug.
Now, why are we coming up on the 7th major iteration of core with this bug still unfixed, that’s what I wanna know! ;)
and why there aren’t any
and why there aren’t any errors in the log. at least none related to this… ;-)