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

James Walton
James Walton
1,567 Points

The pictures are showing up on my webpage, but when I click on each individual one, it is giving me this error: Not Foun

d. I had to use my own images because I don't have winzip.

2 Answers

Douglas Counts
Douglas Counts
10,126 Points

Make sure your images are in the img directory below your index.html file. If not, then create one and then edit the src and href attributes to point to your own images.

Make sure that you are using relative links like src="myImageDirectory/myfile.jpg" and not putting a slash or http:// in front as those are not relative references and you will need a web server to serve those up. If you use relative links then you can simply edit the file within a directory and double-click the index.html file to run it.

James Walton
James Walton
1,567 Points

Thank you for your response. I simply had a . instead of a - in the img name.