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 Build a Simple Website Text Editors and HTML Images and Lists

Jennifer Andrade
Jennifer Andrade
2,074 Points

Image/logo.gif Not showing

Just wondering why the img/logo.gif is not showing

5 Answers

Jennifer Andrade
Jennifer Andrade
2,074 Points

Hi Adam,

I found the problem, I decided to delete the project folder, and re-download it, over again. But when I open the index.html on my browser it shows my index.html file were I left off. All images are showing now.

I tried to start all over again, but I see I don't have too.

thank you for you help :)

Would need more information for an informed answer. But I would assume that the image is not saved in the correct place. What you need to do is start at the folder where your index.html file is located and then create a folder called IMG and inside here you should place the LOGO.GIF file.

John Steer-Fowler
PLUS
John Steer-Fowler
Courses Plus Student 11,734 Points

Hey Jennifer,

<img src="img/logo.gif" alt="Smells Like Bakin">

Should be something similar to this, you basically need to make sure that your src (source) is linking to the correct location. In my example, the logo.gif is in a folder called 'img' within your working directory. You might need to create the folder 'img' within your working directory like Adam said above in order for this to work.

Hope this helps

James Barnett
James Barnett
39,199 Points

Jennifer Andrade - You've almost certainly stumbled upon an issue with file paths.

To understand what went wrong and then what changed so it worked I recommend, you check out the Treehouse blog post helpfully entitled How to Fix a Broken Image

Jennifer Andrade
Jennifer Andrade
2,074 Points

thank you, this really helps:)