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

Christina Dine
Christina Dine
474 Points

Images aren't showing up on the page, but links work.

I've mirrored the tutorial as I went along. In the preview I had noticed that my image didn't appear, but if I clicked the link I could see the image on the link. Did I do something wrong? My browser is Chrome.

Hi Christina,

Can you post a link to a snapshot of your workspace? You can create a snapshot by clicking the camera icon.

snapshot

1 Answer

The file structure that you need is index.html not in any folders. Then you need a folder that is called img, no caps. The file names are case sensitive. The links in the html should be "img/[file name]". You probably have the index.html in the wrong place or you have an error in your code that is preventing execution.