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.

Rodolfo Urbina
3,705 PointsImages appear broken after adding them to workspace
I am uploading the images just as the video says, but when I refresh the preview screen the images appear broken. I tried to upload them again but its not working. How can I fix this?

Rodolfo Urbina
3,705 PointsHi Brandon,
I am trying but it does not appear. How can I add it here so the code is visible?

Rodolfo Urbina
3,705 PointsI found the mistake. I typed a capital letter in the name of the image folder and did not consider that in the code. It's working fine now.
2 Answers

Denny Schuldt
4,623 PointsHi Rodolfo,
Check the path to the image, for example if your index.html file is in the same level of the img folder, and you have your image inside the img folder, you should add them like this: <img src="img/image.jpg" alt="">
index.html img/ -->image.jpg
Regards, D.

Rodolfo Urbina
3,705 PointsHi Denny,
The index.html file is in the same level as the img folder. I tried to add them as you suggested but still is not working. Any idea what else should I check? Once I upload the images I can see them properly if I click them inside the img folder, so the files seem to be ok.
Brandon Kern
8,433 PointsBrandon Kern
8,433 PointsWhat does your coding look like? Could you paste it here so we can see where you've gone wrong or how to help you better?