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 trialJacob Bruno
300 PointsI watched the video several times and my code is the same. I have all photos in the "img" folder. I don't understand why
they are not loading on my website. Any tips for me to get the images to display?
3 Answers
Rich Donnellan
Treehouse Moderator 27,696 PointsI can't be certain of your folder structure, but try <img src="../img/numbers-01.jpg" alt="">
. Also, make your href
path identical.
Remember, this has everything to do with using relative paths.
Jacob Bruno
300 Points <section>
<ul>
<li>
<a href="img/numbers-01.jpg">
<img src="img/numbers-01.jpg" alt="">
<p> Beautiful Shot of Snoqualmie Falls</p>
</a>
</li>
Jacob Bruno
300 PointsIt must have something to do with the folder path I deleted the default "numbers" pictures and entered my own into the "img" folder. I'll mess around with folder structure
Rich Donnellan
Treehouse Moderator 27,696 PointsRich Donnellan
Treehouse Moderator 27,696 PointsJacob,
Post your code so we can better help you. My hunch is your path is incorrect.