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.

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!