Skip to content
This repository has been archived by the owner on Nov 2, 2023. It is now read-only.

Profile Picture does not update #138

Open
haneefmubarak opened this issue Jun 8, 2014 · 19 comments
Open

Profile Picture does not update #138

haneefmubarak opened this issue Jun 8, 2014 · 19 comments

Comments

@haneefmubarak
Copy link
Contributor

It appears that osrc does not update the profile picture for users. I have had my new picture for a fair while now, but my old one remains in place @ http://osrc.dfm.io/haneefmubarak/

Is there a way that we could get it to update profile pictures or always pull the latest profile picture?

@PotcFdk
Copy link

PotcFdk commented Jul 5, 2014

osrc doesn't seem to use the GitHub profile avatar at all, but rather embeds Gravatar images.

Look here, it doesn't show my profile picture, since I'm not using Gravatar - yet I have one on GitHub.
So what I think is happening, is that you have uploaded a profile picture on GitHub but didn't change the Gravatar one.

You can see the raw data for your profile here: http://osrc.dfm.io/haneefmubarak.json
This reveals the following: "gravatar": "217cc277a166901382530b0e9907265f"
That's your Gravatar id, which is an md5 sum of the e-mail address you registered with Gravatar.
If you prepend https://secure.gravatar.com/avatar/ you get https://secure.gravatar.com/avatar/217cc277a166901382530b0e9907265f, which points at your Gravatar image.
Maybe we can get GitHub profile avatar support?

@haneefmubarak
Copy link
Contributor Author

Yeah, that makes sense. GitHub profiles are accessed along the lines of https://api.github.com/users/haneefmubarak. There it does give you the URL for the GitHub avatar in the avatar_url field - for me, https://avatars.githubusercontent.com/u/1464144?, so therefore you get your true GitHub avatar.

Perhaps we could pull avatars from there?

@Uko
Copy link

Uko commented Aug 6, 2014

👍

@Walkman100
Copy link

Chipping a bit of information in here, I recently changed my profile pic from gravatar and it shows up.
If i go to Show image location, it pops up as https://secure.gravatar.com/avatar/fc9f0e24dd356322dec021092439f6e8?s=220, which is exactly as mentioned.

@fresheneesz
Copy link

Found this after updating my github avatar. My avatar isn't change in most places. But it is changed on the settings page - not only next to the "upload new picture" button, but also in the topbar. Nowhere else on the site except on the settings page is the topbar image changed. Very bizarre that only the settings page uses a different image.

@fresheneesz
Copy link

Ah I see what must be happening, github isn't using robust cache busting techniques, so it probably takes howeverlong the CDN holds onto files for the image to update. You can see that the image here: https://avatars1.githubusercontent.com/u/149531?v=3&s=460 is still the old image, whereas this is the new image (just without the parameters) https://avatars0.githubusercontent.com/u/149531

@Walkman100
Copy link

@fresheneesz must be a caching issue, they look the same to me.

@fresheneesz
Copy link

It wasn't a local browser caching issue. I tried on multiple browsers (which I never use github for). They're the same now for me too - I noticed that they updated last night.

@chedwick
Copy link

It is happening here too. I've created a new organization and after updating everything few days ago, they still not reflecting what I did. The organization has 3 repos and none of them have correct descriptions and they don't reflect whatever is changed on their correspondent repos.


Edit: After few hours I have changed image logo and other contents, everything is OK now. Be aware that in my case it wasn't a browser cache issue. So, I guess one has only to be more patient.

@Walkman100
Copy link

Walkman100 commented Mar 18, 2015

Ah I see what must be happening, github isn't using robust cache busting techniques, so it probably takes howeverlong the CDN holds onto files for the image to update.

So, I guess one has only to be more patient.

Pretty much.

@BryceTheCoder
Copy link

^ Exactly. You need to wait a few before it truly uploads and changes it for you.

@ghost
Copy link

ghost commented Nov 27, 2017

I have similar problem ;(

@ghost
Copy link

ghost commented Jan 21, 2018

Go into your browser's settings and clear browsing data, which can include the cache, saved images ...

@NoreenMekky
Copy link

use CTRL+Shift+R in order to reload page while ignoring cache.

@misterhappy2
Copy link

One WEEK after I updated my github profile photo, it appeared in my Linkedin profile link.

@LencomPete
Copy link

Thanks all. I will wait.

@rafaleo
Copy link

rafaleo commented Jan 3, 2019

just checking my photo is there yet...

@reneehickman
Copy link

Same issue for me as well.

@PotcFdk
Copy link

PotcFdk commented Mar 28, 2019

osrc is dead (it seems?), why are you commenting on this issue? What website are you even checking this on? I'm so confused.

Repository owner locked as resolved and limited conversation to collaborators Mar 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests