跳至內容
選單
此問題已被標幟
1 回覆
9744 瀏覽次數

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.

頭像
捨棄
作者 最佳答案

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:


頭像
捨棄

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

相關帖文 回覆 瀏覽次數 活動
0
4月 22
123
3
3月 16
6538
1
3月 15
5457
1
3月 15
7969
1
3月 15
4840