Skip to Content
Menu
This question has been flagged
1 Reply
8621 Views

I've seen some applications automatically generate Avatars for users.  For example, user John Smith would have a square Avatar of a random color with "JS" inside it.

Avatar
Discard
Author Best Answer

There is a way to have the Avatar images automatically generated, and you save them and set them on each user via Settings --> Users --> Users the way you would any other image:

  • visit http://codepen.io/leecrossley/pen/CBHca

  • enter the user's first and last name in line 3 of the JS box (the third box)

  • right click the image that is rendered below the boxes and save it

  • edit the user image (below) and set it to the newly created image

Example:


Avatar
Discard

I highly doubt that he wants to manually create an avatar for each of his users :/

Related Posts Replies Views Activity
0
Apr 22
122
3
Mar 16
5410
1
Mar 15
4089
1
Mar 15
6497
1
Mar 15
3526