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

images problem

Just started the "Smells like bakin" project I got the code right but my image will not appear when i load the web page. i get something like a broken image symbol

1 Answer

What is your path to the images? Are you using relative paths or absolute paths?

Relative: html <img src="img/whatever.bmp" alt=""></img>

Absolute (Windows example): html <img src="C:/Users/project/img/whatever.bmp" alt=""></img>

First method (relative paths) is generally preferred and easier, but has to be absolutely correct (and filename with extension has to be 100% exact) or it won't work.

If it's not the above, slight chance it's also a user permissions issue.