Open ianb opened 10 years ago
In package.json
you can set defaults for things like the avatar pref. If there's a public location to point to for the avatar URL that will work, otherwise if it's local we'll have to tweak it (maybe in the lib/identity
module).
@ianb adding default avatar - let me know if this works
Since we are using these avatars for identification in a bunch of places (with no names) maybe we should have a few different colors of avatar?
I put in a site/
directory which I'll setup to be uploaded to https://togetherjs.com/hotdish/
– these avatars could go in there, and then we'd create a list of the full URLs and randomly pick one in lib/identity.js
if there is no other avatar assigned to the pref.
@ianb added in the avatars, can you plug them in? or direct me?
@aarondruck if you want to try to set them up, it's not too hard a task. I've uploaded the avatars, at https://togetherjs.com/hotdish/avatars/avatar-green.png (etc).
You'll want to look at lib/identity.js
– and check if myprefs.avatar
is set, and if not then pick a random avatar.
When someone doesn't set their avatar, it's just white. Not even a generic, just blank and white. We use the avatar for identification in a lot of places. Truly forcing people to take a picture for their avatar is technically somewhat difficult.