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 trialVivian Oyemike
6,586 PointsBroken 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
Byron Injeeli
Full Stack JavaScript Techdegree Graduate 25,639 PointsHi 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.