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

Can't get image to display

Hi--

I am having trouble getting the photo to display-- the code is correct, but in the preview the photo does not show up. Any thoughts?

-Annalee

3 Answers

Matija Komorčec
Matija Komorčec
13,123 Points

Could you type the code here? Maybe the picture is not in the same folder as the css. I need more info to help you

Thanks for your response! I actually just solved the problem-- it was an issue with the way I had uploaded the images-- they were not associated with the img folder, so the file name was wrong.

Thanks again!

Matija Komorčec
Matija Komorčec
13,123 Points

Hehe glad you solved it. And that's the best feeling ever, when you solve a problem on your own :-)