Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML

project Smells Like Bakin

I cannot get my second picture "you bake me blush" to show up in the browser. it shows up as an icon but not the picture itself... possible reasons for this cause?

3 Answers

Justin Horner
STAFF
Justin Horner
Treehouse Guest Teacher

Hello Amber,

I would love to help you with this issue. Would you mind sharing your HTML so I can get a better understanding of why this is happening?

Considering your image is in a folder named 'img' your image tag should like similar to the following.

<img src="img/you-bake-me-blush.gif" alt="You Bake Me Blush">

Make sure the src is pointing to the right location on disk to find the image.

James Barnett
James Barnett
39,199 Points

@Amber -

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 that you are using the exact name of the image files in your HTML, if that doesn't resolve the issue, check the file paths.

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.

Ricardo Diaz
Ricardo Diaz
30,415 Points

is it linking to the image file correctly? if you see the small icon usually that means its not pointing to the correct file.