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 Add Image Gallery Content

Michael Roszkowski
Michael Roszkowski
7,792 Points

Why are my images appearing as a broken text box when I go to preview my workspace? Everything is how it should be.

I've done everything exactly as described in the lesson and even compared my workspace with that of the lesson multiple times and my Images keep appearing as broken text boxes. Why is that?

3 Answers

Luke Buśk
Luke Buśk
21,598 Points

I have trouble with Workspace also. Check Your code in another text editor + browser.

Hi Michael,

Have you opened your "img" folder and made sure all of the images are there?

Post your html so that we can take a look at it.

It needs to be wrapped in 3 backticks as shown in this thread: https://teamtreehouse.com/forum/posting-code-to-the-forum

Michael Roszkowski
Michael Roszkowski
7,792 Points

Thank you all for your help, I did figure out what the problem was. I had named the image folder "image" instead of "img" like in the video. So I had all of my attributes linked to "img" instead of "image".