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 Add Image Gallery Content

Mohammad Usmani
Mohammad Usmani
192 Points

When it comes to adding images to the gallery, i seem to type everything up correctly but the image doesnt show up!

there is a little picture icon that is shows up and you catn do anything with it!

and here is the code <ul> <li> <a href="img/numbers-01.jpg"> <img src="img/numbers-01.jpg" alt=""> <p>Playing with colors.</p> </a> </li> </ul>

James Ingmire
James Ingmire
11,901 Points

Try adding your code, can't help much otherwise except it normally means you have typed the wrong url.

Logan R
Logan R
22,989 Points

Can you please provide your code?

Try using proper code mark up by add three ` before and after your code.

Eric Vandenberg
Eric Vandenberg
9,095 Points

Make sure that your path to your image url is locating the image correctly. This will depend on whether you are storing your images in a img folder or if you images are located alongside your .html files

If your images are nested in a folder named img then your need to provide a path to that folder:

<a href="img/numbers-01.jpg">

If your images don't belong to a folder but they are still uploaded to your project alongside your .html files then you don't need to provide a path to any folder:

<a href="numbers-01.jpg">