Where is image coming from?


I’d like to change the image, but I can’t seem to find it.


You need to setup a gravatar that matches an email and then go and fill your email in the Settings under Profile.


Thanks. If we’re using JWT, it doesn’t need to match the email right?


Don’t you provide the email inside the jwt?


I do, but maybe I misunderstood.

I thought when you say gravatar, you meant providing a URL for the avatar.

"avatar": "https:/gravatar.com/avatar/abc123",

I think what you’re referring to is this

"email": "jdoe@example.com",

If email can’t be resolved to a gravatar, then it show that default image.

Is there a way to change that default image? So when it cannot find a gravatar, it will display our custom image?


Yes you can set in interface_config.js
RANDOM_AVATAR_URL_PREFIX and RANDOM_AVATAR_URL_SUFFIX, which are used for the default avatar.