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.

HTML How to Make a Website Creating HTML Content Structure the Image Gallery

Can't get image to display


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?


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 :-)