Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 4

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

Solved! Go to Solution.

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.

3 Replies
Solution
Commander Lvl 2
Message 2 of 4

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

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="https://github.com/Titan3T/<name_of_the_repository>/blob/master/<name_of_the_image>" alt="selfie">

 

Hope this helps 🙂

 

-Gabriele-

 

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

 

Highlighted
Copilot Lvl 2
Message 3 of 4

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

Hello,

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.
Ground Controller Lvl 2
Message 4 of 4

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

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