Does not show custom user image, only shows user initials

Does not show custom user image, only shows user initials

by Diogenes Mata -
Number of replies: 4

Hello.

Install Moodle 4.2.2.

I want to change the default user picture as shown in the documentation: https://docs.moodle.org/402/en/User_pictures

I follow the steps replacing the images f1 and f2 in: /pix/u/ and /theme/themename/pix_core/u/ but the user's initials are still displayed.

What am I missing?

Average of ratings: -
In reply to Diogenes Mata

Re: Does not show custom user image, only shows user initials

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers
Did you try clearing caches?
In reply to Emma Richardson

Re: Does not show custom user image, only shows user initials

by Diogenes Mata -
Thanks for replying Emma.

Yes, I cleared the cache and Ctrl + F5 in the browser, it also went into incognito mode and it doesn't work.

I think this explains it: https://tracker.moodle.org/browse/MDL-72305?focusedCommentId=909570&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-909570

It would mean that user avatar customization is no longer valid in general for users in Moodle.

I hope I'm wrong.
In reply to Diogenes Mata

Re: Does not show custom user image, only shows user initials

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers
I meant the Moodle cache - did you clear that? What happens if you go to a user profile, edit something and then save it? Sometimes direct database changes don't get picked up...
In reply to Emma Richardson

Re: Does not show custom user image, only shows user initials

by Diogenes Mata -
Yes, I cleared the Moodle cache, that was the first thing I did.

Updating a user's information did not solve the problem.

As I mentioned before, I think that the user's image can no longer be massively customized, I just want someone to confirm it for me, or deny it with evidence if that is the case.