Skills practice resource. These guides support teaching and mock projects. They are not a guide to any live OCR set assignment. During your assessed NEA, follow only your teacher's instructions and the OCR set assignment.

Step 10: Add an Image Gallery

A grid of thumbnails that open big, with Back and Next.

You will need

  • Several pictures in images/ (the same shape works best)

Check it worked

  • Clicking a picture shows it big; Back, Next and Escape work
  • Every picture has alt text

Steps

Watch a step, pause the video, then do it yourself in WebCraft. These are the same steps as the video.

  1. Gallery block

    Open your Gallery page. In the Add tab, drag a Gallery block onto the page.

    WebCraft screenshot: Gallery block (Add tab, Gallery, A grid of pictures)
  2. Choose the pictures

    Double-click each picture to choose one from your images folder, and give every picture alt text.

    WebCraft screenshot: Choose the pictures (Double-click a picture, Choose from images, Add alt text to each)
  3. Add more pictures

    For more, click the Add another picture button. They line up as neat thumbnails of the same size.

    WebCraft screenshot: Add more pictures (Add another picture, As many as you need, Same size thumbnails)
  4. Click to enlarge

    In Preview, click a picture to see it big. Use Back and Next to move through them, and Escape to close.

    WebCraft screenshot: Click to enlarge (Preview, Click a picture, Back, Next and Escape)

Project Log evidence

  • A screenshot of the gallery and one of a picture opened big

Common problems

I cannot add a picture without alt text
Good: describe each picture for people who cannot see it.
The pictures look different sizes
The gallery crops them to the same shape. Choose pictures with the main subject in the middle.