{"action":"created","issue":{"url":"https://api.github.com/repos/oppia/oppia/issues/1544","repository_url":"https://api.github.com/repos/oppia/oppia","labels_url":"https://api.github.com/repos/oppia/oppia/issues/1544/labels{/name}","comments_url":"https://api.github.com/repos/oppia/oppia/issues/1544/comments","events_url":"https://api.github.com/repos/oppia/oppia/issues/1544/events","html_url":"https://github.com/oppia/oppia/issues/1544","id":137527748,"number":1544,"title":"Autogenerate a default profile picture for each user who signs up.","user":{"login":"seanlip","id":10575562,"avatar_url":"https://avatars.githubusercontent.com/u/10575562?v=3","gravatar_id":"","url":"https://api.github.com/users/seanlip","html_url":"https://github.com/seanlip","followers_url":"https://api.github.com/users/seanlip/followers","following_url":"https://api.github.com/users/seanlip/following{/other_user}","gists_url":"https://api.github.com/users/seanlip/gists{/gist_id}","starred_url":"https://api.github.com/users/seanlip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanlip/subscriptions","organizations_url":"https://api.github.com/users/seanlip/orgs","repos_url":"https://api.github.com/users/seanlip/repos","events_url":"https://api.github.com/users/seanlip/events{/privacy}","received_events_url":"https://api.github.com/users/seanlip/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/oppia/oppia/labels/feature:%20important","name":"feature: important","color":"fbca04"},{"url":"https://api.github.com/repos/oppia/oppia/labels/frontend/per-user-information","name":"frontend/per-user-information","color":"eeeeee"},{"url":"https://api.github.com/repos/oppia/oppia/labels/starter%20project","name":"starter project","color":"bfe5bf"},{"url":"https://api.github.com/repos/oppia/oppia/labels/TODO:%20code","name":"TODO: code","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-03-01T10:03:48Z","updated_at":"2016-03-03T04:40:37Z","closed_at":null,"body":"Currently, a user who signs up but doesn't have a profile picture ends up using Oppia's default profile avatar, which is a blue silhouette on a white background.\r\n\r\nHowever, now that we're showing profile pictures in the gallery, it seems odd to see a whole bunch of blue silhouettes -- it looks as though one user created all the explorations, where in reality the different silhouettes represent different users.\r\n\r\nThus, it would be nice to autogenerate a default profile picture for users who have not uploaded one yet, such that different users' default profile pictures are distinct. Some ideas:\r\n- a randomized pattern with a particular colour scheme (cf. GitHub for an example)\r\n- the user's initial, on a circular monochromatic background (where a random colour is chosen for each user)\r\n\r\nThere may be other possibilities too.\r\n\r\nNote that this is mainly a development project, though it has some design elements. I would err towards picking a method of autogeneration that's as simple to implement as possible, since it's straightforward for a user to update their profile picture if they do not like the default one.\r\n\r\nIf you'd like to take up this issue, please reply to this thread explaining how you plan to auto-generate the pictures before implementing! The implementation would need to work for new users, and we will need to do a one-off job to auto-generate pictures for existing users as well. In the first pass, I suggest focusing on just the first of these, since the second is quite straightforward once the infrastructure for the first has been built."},"comment":{"url":"https://api.github.com/repos/oppia/oppia/issues/comments/191578613","html_url":"https://github.com/oppia/oppia/issues/1544#issuecomment-191578613","issue_url":"https://api.github.com/repos/oppia/oppia/issues/1544","id":191578613,"user":{"login":"seanlip","id":10575562,"avatar_url":"https://avatars.githubusercontent.com/u/10575562?v=3","gravatar_id":"","url":"https://api.github.com/users/seanlip","html_url":"https://github.com/seanlip","followers_url":"https://api.github.com/users/seanlip/followers","following_url":"https://api.github.com/users/seanlip/following{/other_user}","gists_url":"https://api.github.com/users/seanlip/gists{/gist_id}","starred_url":"https://api.github.com/users/seanlip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanlip/subscriptions","organizations_url":"https://api.github.com/users/seanlip/orgs","repos_url":"https://api.github.com/users/seanlip/repos","events_url":"https://api.github.com/users/seanlip/events{/privacy}","received_events_url":"https://api.github.com/users/seanlip/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T04:40:37Z","updated_at":"2016-03-03T04:40:37Z","body":"Btw, it looks like this can be factored out into two separate projects:\r\n- using gravatar avatars when a new user signs up, if possible\r\n- benchmarking performance of jdenticon or other similar libraries (vs png files served from backend), in order to answer the questions raised above"}}