Twindle: [Tip] Add your GitHub Profile image

Created on 24 Oct 2020  路  4Comments  路  Source: twindle-co/twindle

Get your GitHub Profile image

  • You can easily add your GitHub profile image without uploading any images to local /docs/images/team, by appending .png to the URL of your GitHub's profile to get redirected to your avatar. So, if your GitHub profile url is like https://github.com/proful for example, then you can get your avatar using https://github.com/proful.png, just adding .png at the end.

More Examples:

  1. Actual Avatar (full size)

    Image Url:

    https://github.com/proful.png
    

    Markdown:

    ![avatar](https://github.com/proful.png)
    

    Display like:

    avatar


  1. Resized Avatar (200 px)

    Image Url:

    https://github.com/proful.png?size=200
    

    Markdown:

    ![avatar](https://github.com/proful.png?size=200)
    

    Display like:

    avatar


  1. Resized Avatar (40 px)

    Image Url:

    https://github.com/proful.png?size=40
    

    Markdown:

    ![avatar](https://github.com/proful.png?size=40)
    

    Display like:

    avatar

discussion documentation

Most helpful comment

I think this is a amazing tip to know as a beginners, as we can now use this approach as a fallback image for all the users until they can upload main image to the local or incase they don't want to upload the same image they already have in GitHub profile. Also, this tip can be used for any future projects by the beginners while they are building something related to GitHub Api/profile.

All 4 comments

Hi @palashmon many people don't have an Image on Github that is why there is an alternative approach taken.

I also think that Github images should be the way to do because we don't need to create a specific folder for the images and keep it in our repo.

What do you think about this @proful should we use this way given to us?

For team.md it is not necessary as we are adding image for learning purpose and to experience merge conflicts.

However you can use this approach to the team page you are building.

I think this is a amazing tip to know as a beginners, as we can now use this approach as a fallback image for all the users until they can upload main image to the local or incase they don't want to upload the same image they already have in GitHub profile. Also, this tip can be used for any future projects by the beginners while they are building something related to GitHub Api/profile.

implemented

Was this page helpful?
0 / 5 - 0 ratings

Related issues

piratelicorne picture piratelicorne  路  7Comments

proful picture proful  路  4Comments

shekhar10feb picture shekhar10feb  路  3Comments

thunder-coding picture thunder-coding  路  8Comments

Akshay2996 picture Akshay2996  路  6Comments