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!

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

My images aren't uploading to the workspace, they just show a little icon.

When I upload my images to the Workspace, they just show a little icon instead of the actual picture.

1 Answer

If just a matter of referencing, make sure you have the correct path. If Image folder is "img" src should be "img/fileName.jpg", for example. However, If it is the upload that is the problem, that is - when you view the folder after upload, and instead of images you see small boxes with red x, then Images not valid image type, or are corrupt, or something.

Thank you! I hadn't realized that I had titled the image folder "Img" and referenced them as "img" in the workspace. It has been fixed!