Getting images from computer to show on site published on github.

I am having trouble getting an image to show up once I publish my site on github. The image is located on my computer. 

<td><img src="C:\Users\ETam_\OneDrive\Desktop\web development\HTML - personal site\images\selfie.JPG" alt="selfie"></td>

how would I go about fixing my broken image?  Thanks.

1 Like

Hi @titan3t,

Welcome to the GitHub Community forum!

Did you try to upload this image in a github repository? If you this you can reffer to it by something like this:

<img src="<name_of_the_repository>/blob/master/<name_of_the_image>" alt="selfie">

Hope this helps :slightly_smiling_face:


Mark helpful posts with Accept as Solution to help other users locate important info. Don’t forget to give Kudos for great content!



Thank you for your help. I was able to get my picture to show. Even something so simple took me a bit of time to figure out.


uploading on github and using a local link for your image will not work you have to upload the link on repositories in order to make that link work