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 Structure the Image Gallery

I don't see an image on my preview

Hi there! For some reason when I include the img/ in the code <img src=img/...> I get a 404 Not Found message.

However, I can see an image without including the img/- my code looks like: <img src=xyz.jpg>

Any thoughts on why this is happening? Thank you for your help!

Dan Mirda
Dan Mirda
3,992 Points

Posting your code would probably be a good idea.

1 Answer

Well, did you actually put the img folder up onto workspace or did you just put the images up?

That is probably the problem, based on not seeing your code.

EDIT: Use the Markdown CheatSheet below the text field to find out how to input readable code into forum posts.