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 Build the Footer

Ryan Bent
Ryan Bent
6,433 Points

no of my pictures show up even though I load them in the appropriate folder

I don't know what's wrong

3 Answers

Okay. It is common problem with beginner. Even I had this problem four days ago. I am mastering with this now. Because I followed few things when I deal with images

  • Create a separate folder for image named "img"

  • It should be sub folder for HTML documents and should sibling for CSS files.

  • make sure that you use / instead of \

  • src attribute. Very important attribute to find image from img folder (eg. src="/img/image.png")

  • Extension very important. You make sure that you add correct extension to images. (.png, .jpg)

Please follow this steps you can master with working with images in HTML.

If you share your codes with a description of what you would to do it would be helpful for the community to help troubleshoot.

In general you may want to double check the < img src= "absolute location to image file " > Everything has the right container .jpg, .png, gif and declared. directory and subdirectory are separated with '/'.

Good luck

Ryan Bent
Ryan Bent
6,433 Points

I figured it out. Simple mistake. Thank you!

Good! Please share your mistakes. So that, other people can learn from it.

Have a best day!

Regards

Karthikeyan Palaniswamy