DEV Community

10x learner
10x learner

Posted on • Originally published at on

How to get the profile picture of a GitHub account

Hello ! I’m Xavier Jouvenot and in this small post, we are going to see how to get the profile picture of a GitHub account.

Self promotion: You can find other articles on my website 😉

Small Backstory

When following a GitHub Learning Lab course, I ended up creating a portfolio using Markdown.

During this course, I wanted to integrate my GitHub profile picture, and not have to update it, if, in the future, I update it (the photo is 8 years old, so I should probably update it 😆).


When digging on the internet to find a solution to this problem, I found out that GitHub gives you access to a lot of information, if you want to invest the time to get it.

But regarding the profile picture, it is actually really easy to get. All you have to do is to access the following url, and you will have access to the profile picture of the account of you choice:<github_username>.png
Enter fullscreen mode Exit fullscreen mode

Using this url, I have been able to integrate my profile picture in the markdown file like so:

![GitHub profile picture](
Enter fullscreen mode Exit fullscreen mode

And just like that, I have been able to access dynamically to my GitHub profile picture and to include it in my markdown portfolio.

Thank you all for reading this article, And until my next article, have a splendid day 😉

Top comments (0)