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 Add Image Gallery Content

carly graham
carly graham
2,663 Points

I want to use my own images, but they do not appear in the site preview. Sizing might be off?

These are pictures I uploaded to my Mac from my iphone. I was able to put them in the image folder and when I write the image tag it seems fine. The little default picture appears in the preview instead of the actual picture. I think my code is right but maybe the sizing is off? Or maybe I've forgotten something? I'd love any suggestions.

2 Answers

Ronnelle Torres
Ronnelle Torres
5,958 Points

It would be best if you can post your code here :).

Though, you can check if you had a typographical error or the directory that you specify on the src might be missing something :)

Hope that helps.

Austin Adams
Austin Adams
7,060 Points

I would double check the image path. I had the same problem because I named my image folder different than the tutorial. If the path to your image is off by even a little it won't show up on your site. I would save and put your image directly into the img folder and then try it!

Good luck!