UW-UPL/uw-upl.github.io

Pull GitHub profile picture?

Closed this issue · 4 comments

If a coord doesn't provide a photo, would we want to pull their GitHub profile picture? This is just proverbial icing on the 🍰 .

Should pull Gravatar instead if anything if possible

We can pull the photo by using the following JSON (my profile for example):
https://api.github.com/users/lozord

What do you think? I can write a script that pulls and saves them to the directory if (!coord.photo && coord.github), so that we never have the make the request. Otherwise, I can pull them when the page is getting built (i.e. make the request every time).

Sounds too complex for the system we want. People should upload their own photos 📷