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

Adding Images

I can't put pictures into my simple website. My coding is the exact same as teachers. Can someone please list out the steps in detail on how to add pictures into the simple website?

3 Answers

Hi Jack, I just encountered the same problem this afternoon. Try saving your images folder and your .html file in the same folder.

As your website grows you'll want to organize your images, CSS & HTML into separate folders. Here's a tutorial where you can read more about how to organize your files

Thanks for your help, James. I'll definitely take a look!

Thanks man.

The 2 most common mistakes when images are not showing up are a typo with the file names or using the wrong file path, so triple check the file name and path.

Here's a tutorial on file paths that should get you going.

Let us know how you are getting along with this here in this thread.

Im having the same problem as the person that posted this original thread. I believe my images aren't showing up due to incorrect file path. Your link for tutorial doesn't seem to be working. Do you know where else I could find this info?

Thanks I could not open the video but I will try again.

fixed the link

Thank you so much!

Yes Jack, Make sure that you are pointing to the correct directory. That might solve your issue. If not then please share with us more details to help you out.