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.


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.