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 trialPhyllis Kauflin
1,152 PointsImages do not appear
Images do not appear. All that shows is a rectangle with slash
4 Answers
Stone Preston
42,016 Pointsyour file paths may be incorrect. can you post the code for your image gallery?
Stone Preston
42,016 Pointsdo you have an img directory located in the same folder as your index.html with a file named distinction.jpg inside it?
dieselintheveins
523 PointsFor the How to Make a Website track, my images appear as broken. My course content is a little different. I do have my images directory located in the same folder as index.html.
<section> <ul> <li> <a href="img/numbers-01.jpg"> <img src="img/numbers-01.jpg" alt=""> <p>Experimentation with color and texture.</p> </a> </li>
Phyllis Kauflin
1,152 Pointsfixed it...thanks for your time. (I renamed some of the photos and didn't include the "jpg")
Phyllis Kauflin
1,152 Pointsthank you, here is my code
<li>
<a href="img/distinction.jpg">
<img src="img/distinction.jpg" alt="">
<p>Distinction Magazine Article</p>
</a>
</li>