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

Unable to Load IMGS

Hey guys!

So I'm trying to code the site and I'm following the same instructions that Nick is giving to me but for some reason my images won't load. For example, I just put the code in for Facebook but the logo won't appear, just "Facebook".

http://web-31xfu6o6i6.treehouse-app.com/IMG/

Can someone help me figure out how to fix this problem. Thanks!

3 Answers

Adam Duffield
Adam Duffield
30,494 Points

You have an 'a' tag in your footer which are for links, if your after an image to show up use an 'img' tag. :) Hope this helps.

Hi there,

I'm not sure what that means. I'm a beginner can you explain that in a little more detail? Is there a tag that needs to be deleted?

Francisco José Martín Soto
Francisco José Martín Soto
8,888 Points

Hi Bianca! This looks an URL problem. Is the img with name, for example "numbers-09.jpg", stored in the directory IMG/IMG/? Because the full path to your is image is: http://web-31xfu6o6i6.treehouse-app.com/IMG/IMG/numbers-09.jpg

Maybe it must be in the directory http://web-31xfu6o6i6.treehouse-app.com/IMG/ instead.

By the way, the html tag of your files has the alt attribute empty. Don't forget to add it. <img src="IMG/numbers-12.jpg" alt="">

Hi! Thanks for you help.

Well I downloaded the zip folder like the video said and imported the pics to my workspace and then added them to the folder so should be good. But what do you mean by my html tag has an alt attribute that is empty? I'm sorry I'm a beginner can you explain that to me?

Francisco José Martín Soto
Francisco José Martín Soto
8,888 Points

Sorry, I show a different thing. You don't use the "alt" attribute.

"alt" is another attribute for the "img" tag, just like "src". "alt" is used for giving a brief description of the image (no more than 3 words). e.g.

<img src="img/holidays_04.jpg" alt="Holiday picture">