berkerpeksag / github-badge

GitHub Badge is a simple embeddable badge showing your GitHub stats like the number of public repositories, number of followers, favorite languages etc.
https://githubbadge.appspot.com/
291 stars 31 forks source link

profile pic not updating #85

Closed fanshi118 closed 5 years ago

fanshi118 commented 8 years ago

I guess this is not that much of a big issue...but when I updated my profile picture on github, the pic on my badge doesn't get updated. It'd be great if you guys can fix this though!

houmie commented 7 years ago

+1

BYK commented 7 years ago

It should update in about 48 hours max.

mexgui commented 5 years ago

I have tried to update my image but the image uploader does not work! I tried jpeg, png but no affect what ever.

mclim9 commented 5 years ago

Same issue. Tried w/ jpeg & png. Profile picture does not change.

GlitchXploitr commented 5 years ago

same.

ellistarn commented 5 years ago

Same issue.

Pranjal714 commented 5 years ago

so is this github's problem or is it related to image size?

N02870941 commented 5 years ago

same issue

tlewandster commented 5 years ago

same

shrutikapoor08 commented 5 years ago

Same issue. My file size is > 500 KB and it didnt work. Tried with another picture that was 100KB and it worked.

jenoh commented 5 years ago

same

bensongathee commented 5 years ago

Same issue here. Could this issue be fixed?

berkerpeksag commented 5 years ago

Unfortunately, I don't have time to work on this at the moment. However, I'd be gladly review and merge a PR.

Thank you for using GitHub Badge and sorry for the inconvenience.

shrutikapoor08 commented 5 years ago

I will be glad to make a PR if you can point me to some helpful resources @berkerpeksag

berkerpeksag commented 5 years ago

GitHub Badge is an App Engine application. You will need to install App Engine SDK. All third-party dependencies are located in packages directory. You may need to install an older version of the SDK to run the application on your system.

I think we can now delete the following snippet:

https://github.com/berkerpeksag/github-badge/blob/197082f717b25714f09ed503ff31ca2392fa7376/app/core.py#L164-L169

And add &s=24 after {{ user.avatar_url }} in the following line:

https://github.com/berkerpeksag/github-badge/blob/197082f717b25714f09ed503ff31ca2392fa7376/templates/badge.html#L23

harsh159357 commented 5 years ago

Issue is there but make image size less than 500Kb and you are good to go. Try anything that will make image smaller than 500 Kb. For ex- I tried https://www.reduceimages.com/ and it worked.

revanthsenthil commented 3 years ago

I had to make it less than 100kb, only then did it work, as @harsh159357 mentioned, https://www.reduceimages.com/ does this pretty well. The image looks bad and kinda pixelated in the end though.

xItzDiamondx commented 3 years ago

Mine is less than 100kb, mine is 3kb

jdissimoz-sw commented 2 years ago

In my case, file was only 55.1kb and the badge icon still wasn't updating, until I pressed Ctrl + F5. So besides all they have commented here, part of it is a browser caché issue too.

EdenGoforIt commented 2 years ago

same issue here. When I share the git link with others

OsamahBaka commented 1 year ago

same here

mehrdadmoradi001 commented 1 year ago

Note: Your profile picture should be a PNG, JPG, or GIF file, and it must be less than 1 MB in size and smaller than 3000 by 3000 pixels. For the best quality rendering, we recommend keeping the image at about 500 by 500 pixels.

cleuton commented 10 months ago

+1

zmeyka3310 commented 6 months ago

bump

o-sergeneser commented 2 months ago

bump

BYK commented 2 months ago

@o-sergeneser the project is mostly abandoned so don't expect fixes at this point. Sorry 😔