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 Structure the Image Gallery

Lysa Jordan
Lysa Jordan
774 Points

I was able to upload th images but they don't appear in the browser; I can only see the small little jpeg image symbol.

I was able the upload the images but they don't appear in the browser, I can only see the small little jpeg image pictogram.

Can you show us your HTML code?

8 Answers

Hi Lysa,

Make sure your source file path is correct. This is more then likely because the browser can't find the image because of an incorrect file path. Check for spelling mistakes and capital letters.

Hi Lysa!

Your code should look similar to this for the images to show correctly:

<img src="img/numbers-01.jpg" alt="">
Lysa Jordan
Lysa Jordan
774 Points

Hi, thanks for your help Luke but my code seems okay

        <img src="img/numbers-01.jpg" alt="">
</html>```
Lysa Jordan
Lysa Jordan
774 Points

can I show you a printscreen of what I am seeing ?

Upload a screenshot of the workspace.

Lysa Jordan
Lysa Jordan
774 Points
            <DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Lysa Jordan - Artist</title>
  </head>
  <body>
    <header>
      <a href="index.html">
        <h1>Lysa</h1>
        <h2>Artist</h2>
      </a>
        <nav>
          <ul>
            <li><a href="index.html">Portfolio</a></li>
            <li><a href="about.html">About</a></li>  
            <li><a href="contact.html">Contact</a></li>
        </ul>
      </nav>
    </header>
     <section>
       <ul>
       <li>
         <img src="img/numbers-01.jpg" alt=""> 
       </li>
       </ul>
      <p>Gallery goes here</p>
    </section>
     <footer>
      <p>&copy; 2014 Lysa</p>
    </footer>
  </body>
</html>
            ```

Hi Lysa, try to fix your doctype. Change it from

<DOCTYPE html>

to

<!DOCTYPE html>

I'm having the same issue for some reason.

Lysa Jordan
Lysa Jordan
774 Points

Hi gloria thanks for you help.

I tried to change it, but I still have the same issue. The image does not upload properly, I have a small jpeg image symbol.

Can you show us a screenshot of your workspace? Also if you have any CSS you are using you can show that to us as well.