Avatars are a big part of anyone’s online identity. Discourse already supports 3 options when it comes to avatars: based on the first letter of your username, your Gravatar or any images you want to upload.
But what if you want to provide your users with a limited set of avatars to choose from? It’s now possible thanks to the “selectable avatars” feature!
As an admin, if you click Edit next to the
selectable avatars site setting, a modal will pop up and ask you to start uploading avatars.
You can either drag & drop up to 10 images at a time or click Upload Picture to browse your computer to select the images you want to upload.
If you want to remove some of the uploaded images, you just need to click on it.
Note: Make sure you click after closing the modal to actually save the list.
After enabling the
selectable avatars enabled site setting, two things will happen
- Newly created user will automatically be affected a random avatar from the list.
- Users will be presented with the same list to choose from whenever they want to change their avatar.
Note: existing users will keep their current avatar until they change it.
No cats were armed in the making of this topic.