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

Deborah Williamson
Deborah Williamson
2,997 Points

cant see pictures from image gallery

I'm following the steps in the video but when i see the site preview there isn't any pictures. i don't know what I'm doing wrong :(

Sean T. Unwin
Sean T. Unwin
28,690 Points

Hi Deborah,

Could you show us what you have so far using the format in the thread here?

Would you mind pointing out if you are using a Workspace on this site or from files on your own computer as well please.

Deborah Williamson
Deborah Williamson
2,997 Points
<!DOCTYPE html>
<html>
   <head>
     <meta charset="utf-8">
  <title>Deborah Williamson</title>
  </head>
  <body>
    <header>
      <a href="index.htm">
    <h1>Deborah Williamson</h1>
    <h2>Designer</h2>
        </a>
      <nav>
      <ul>
        <li><a href="index.html">Portfolio</a></li>
        <li><a href="about.html">About</a></li>
        <li><a href="contact.htm">Contact</a></li>
        </ul>
      </nav>
      </header>
    <section>
      <ul>
        <li>
        <img src="img/numbers-01.jpg" alt="">
        </li>
      </ul>
    </section>
    <footer>
    <p>&copy; Deborah Williamson.</p>
    </footer>
  </body>
</html>
Sean T. Unwin
Sean T. Unwin
28,690 Points

Thank you, Deborah.

Are you using a Workspace or did you download the files to your computer and are working on the project locally?

1 Answer

Sean T. Unwin
Sean T. Unwin
28,690 Points

It appears that that pariticular Workspace does not have the img folder included.

I will show you how to add the img folder and the images yourself now, but I will also submit a trouble ticket to try to get the images included into the Workspace for others in the future.

Download the images zip file to your computer

  1. Click here

  2. Save the file where you can find it easily

  3. Unzip the file

Create a new folder

  1. Right click on the left column of the Workspace

  2. Select 'New Folder'

  3. Name the folder img and press <kbd>Enter</kbd>

Create Folder and Upload Files

Upload the images

  1. Click 'File' then select 'Upload File'

  2. From the dialog navigate to the unzipped image files

  3. Select all image files from within the 'img' folder -- Ctrl + A / Cmd + A

  4. Press Enter

Now all the images should be inside the Workspace inside the img folder and your page will display correctly.