Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML

Vivian Oyemike
Vivian Oyemike
6,586 Points

Broken image on github pages

Hi,

Please I need help. I have been working to upload my website on github pages, but some of the images are broken. However, these work fine when viewed locally. Please help.

1 Answer

Hi Vivian, if you are having trouble with images you saved on a folder in your website, this is very likely an issue with how you are declaring paths to the images: For example, your path may look like this:

<img src="assets/images/picture.jpg" alt="Mountain">

Make sure that the case matches the folder names and that you are using relative file paths. If you could give more information, that would help in debugging your issue.