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

No image?

I'm inserting the image elements using the stock photos discussed in the previous video. When I click on the preview link, none of the images appear. What am I doing/not doing?

6 Answers

I'm glad you got it figured out. I've done things like that more than I care to admit. Sometimes it's the simple little things that get ya!

Hi Paul,

Are you referencing the image path via the "src" attribute?

An image element should follow the following format:

            <img src="img/image.jpg" alt="">
            ```

Thanks Shelby. After some further scrutiny, I realized that I changed the name of the folder from "img" to "images" in my workspace so the link to call the image was broken. Once I changed my folder name back to "img" it worked.

*Doh!

Maureen O'Neal
Maureen O'Neal
12,930 Points

Hi, I'm having trouble downloading the files onto my workspace, i downloaded it, clicked and dragged and it takes it to tghe download area, but does not actually download. I am on a PC and not on a mac. Any ideas?

Hi Maureen,

I'm not sure if you have gotten help yet, but I am actually not very experienced with Workspaces, so I'm not entirely sure what could be causing the problem. I think you may have better luck asking the folks over on the General Discussion forum.

Good luck! Sorry I couldn't be more help.

Maureen O'Neal
Maureen O'Neal
12,930 Points

Thank you, I WILL post to the general Discussion wall! Thanks so much.

Make sure when you drag an image to the img folder you only touch the right hand side of the "img folder" DO NOT go near the left (where the dots appear) that's how I had to do it then they loaded into the said folder.

Hope this helps