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

Abner Esparza
Abner Esparza
5,126 Points

My browser doesn't show images when i do the preview, i do have images, when i preview it just shows a small image icon.

I can't seem to load the full image, no matter which one I include in the code

2 Answers

Oliver Sewell
Oliver Sewell
16,108 Points

is the image in your files directory? have you checked the names are exacly correct and match in your code and files

Your problem is almost certainly the path you have in your HTML to the image. Treehouse, and most web sites, put the images in an img folder. Your HTML must accurately describe that path, so the link would be img/picure.jpg. Another common mistake people make is that this is case sensitive. Img is not the same as img and both are different than IMG. Make sure you check your path and the case of the path. Tradition has the img folder and the file names as all lower case, but you have to make sure it is the same regardless of what you choose to do.

If you still cannot solve the problem, please post a snapshot of your workspace. You can do that by opening your project and clicking the camera icon on the upper right side of the window. Follow the steps to create the snapshot and open it. Then copy and paste that URL here. You cannot just copy the URL of the workspace itself as that is private to you.