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

I tried to add an image on my website. Why is it broken?

7 Answers

I believe so... The 'img' folder is located in my 'My Site' folder, which is saved on my desktop.

Tiffany McAllister
Tiffany McAllister
25,806 Points

Is the index.html file also in the My Site folder?

Yes, I tried two different images and it still appears broken on my site. Did I enter the right image tag in my HTML code:


Try "/img/pindoll-01.jpg"

It looks as though your index.html is also in a folder called img. Is the the project in a folder call img? Close your sublime window and open the folder that contains all your project files, then screen shot that. That way we can see the entire file structure.

I figured it out. :) First, I had to upload my images via FTP -- and it's working! Thanks for your help.