Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
9777 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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:


Ảnh đại diện
Huỷ bỏ

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 4 22
123
3
thg 3 16
6550
1
thg 3 15
5487
1
thg 3 15
7977
1
thg 3 15
4856