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
Jack Campbell
1,822 PointsAdding 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
Adam LaFountain
5,554 PointsHi Jack, I just encountered the same problem this afternoon. Try saving your images folder and your .html file in the same folder.
James Barnett
39,199 PointsThe 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.
Jodi Lincoln
1,267 PointsIm 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?
Jack Campbell
1,822 PointsThanks I could not open the video but I will try again.
James Barnett
39,199 Pointsfixed the link
Jodi Lincoln
1,267 PointsThank you so much!
Ahmed Galal
154 PointsYes 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.
James Barnett
39,199 PointsJames Barnett
39,199 PointsAs 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
Adam LaFountain
5,554 PointsAdam LaFountain
5,554 PointsThanks for your help, James. I'll definitely take a look!
Jack Campbell
1,822 PointsJack Campbell
1,822 PointsThanks man.