garimasingh128/gitsetgo

Changing profile picture

ritvij14 opened this issue ยท 5 comments

Is your feature request related to a problem? Please describe.
Many times people do not use their real photos on their GitHub profile, but they would want to show who they are using a real photo for their Resume.

Describe the solution you'd like
Making a component through which we can upload another image if don't want to use our GitHub profile picture.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Perhaps this could help us out?
https://www.npmjs.com/package/react-images-upload

Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.85. Please mark this comment with ๐Ÿ‘ or ๐Ÿ‘Ž to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@garimasingh128 should we do this? I would like to give it a try.

Yeah go ahead

@garimasingh128 I did more research on that npm package but couldn't figure out how it properly works. It itself is a component and is used more for sending data to the backend I think

That's why I added a form-input element. How does it look?

This is how the downloaded pdf image looks like. Good thing is that the form element isn't showing up in the pdf either.

The image is blurry because I think the quality of the pdf downloaded is not that good, as the text is also quite blurry.

image

This is on the website.

image

Looks fine. Please centre the button of 'choose file' and give top margin. Also, the issue of blurriness of the pdf is created. It is due to the usage of react 2 pdf library. Guess I will have to use something else.