Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML How to Make a Website Creating HTML Content Add Image Gallery Content

Deborah Williamson
Deborah Williamson
2,997 Points

Add Image Gallery Content Video

I'm having trouble this lesson. I'm following along and doing everything that's shown on the video but when I view the 'website', the page I see first says "Index of". There's a link below it that says "img/" and when I click it I don't see any of the images I placed in the code. So frustrating! Help anyone???

2 Answers

Hello Deborah!

Please make sure that you have placed all of your images into a folder named img. After that, use the following code to display them on your site.

<img src="img/numbers-01.jpg" alt="This is an image.">
Deborah Williamson
Deborah Williamson
2,997 Points

Ok well I don't see the "index of" page anymore. But I still can't see the images.