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

Can't see images

So I've checked everything and I can't seem to see the images when I refresh. It just gives me a box with a question mark. Please help.

Logan R
Logan R
22,989 Points

Can you please link us your code? Thanks!

"" <a href="img/numbers-01.jpg"> <img src="img/numbers-01.jpg" alt=""> ""

Logan R
Logan R
22,989 Points

Please try using proper markdown. (Surround your code with at the start and at the end.)

4 Answers

Samuel Webb
Samuel Webb
25,370 Points

Not quotes to post your code. That had me confused for a while too. You have to use the same key with the tilde(~) on it. I was using single quotes to try and post code for like a half hour. Also, before I even see your code, did you download the project files and drag them to the bottom left of the workspace?

Oh okay :-)

I did drag them to the bottom left, but it did give me an error message as well. It said "upload error, please try again by selecting all the files in the directory." So I ended up opening the folder and selecting all the files in the directory and then I dragged them over to the bottom and it worked that way. So then I followed the video and as I tried to add the images in the code, it didn't come up and just gives me the blue box w/ question mark. I included the link below and also the code to one of the images.

<a href="img/numbers-01.jpg">

<a href="img/numbers-01.jpg">

I figured it out guys! The images and the pictures are now showing! I guess the src wasn't correct. I basically just started all over. Thanks for your help!