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 How to Make a Website Creating HTML Content Structure the Image Gallery

I uploaded my own pic and they show up in the folder, but are broken when I look at them online

<img src="img/DSC00902.jpg" alt=""> Is there some kind of problem with my coding I am missing? I have rechecked it 100 times

Christopher Loyd
Christopher Loyd
Courses Plus Student 5,806 Points

Would you mind posting your code, and the location of your file?

the photo is in the image file tree Here is the coding: <h2>Auto Technician</h2> </a> <nav> <ul> <li><a href="index.html">Portfolio</a></li> <li><a href="contact.html">Contact</a></li> <li><a href="about.html"> About</a></li> </ul> </nav> </header> <section> <ul> <li> <img src="img/DSC00902.jpg" alt=""> </li>

 </ul>
</section>
<footer>
    <p>&copy; 2015 Mike Vasick.</p>
</footer>

Using the instructors photo worked fine, for some reason mine is not.

1 Answer

A picture would be good. Check your path and make sure it's referencing the right folder/directory. And that the file type is correct: e.g. .png or .jpg, etc.