How do I build a photo gallery page from a folder of the media library?

Make a public page that shows the pictures and short videos of one folder of the media library, as tiles or as a sliding row.

Article Image Alt

What you will have at the end

A Galleries page that shows one folder of the media library and its sub-folders. Visitors browse the folders, search the pictures and open each picture large.

Words used in this article

  • Smart Hub and community. The Smart Hub is the run.events application on which members and visitors read content, meet and connect. A community is one site of the Smart Hub, with its own address and members; you run it in its admin area: sign in on the community, then choose Me → Admin.
  • Media library. The organizer's collection of pictures and videos, under Me → Admin → Content → Multimedia. All communities of the organizer share it.
  • Root folder. The folder that a gallery starts from. Visitors can open its sub-folders but never go above it.
  • Lightbox. The view that shows one picture large over the page, with buttons to move to the next one.
  • Slug. The last part of an address, such as agenda in /c/agenda.
  • Composite page. A page of the community that stacks other pages, articles and videos one below the other.
  • Galleries page. A page of the community that shows the pictures of one folder of the media library.

Before you start

  1. You are a community Administrator.
  2. Put the pictures into one folder of the media library, with sub-folders if you want them, for example "Photos 2026" with "Day 1" and "Day 2".
  3. Give each picture a Name and a Description. The name is what a screen reader reads on the gallery, and the caption in the lightbox. See How do I describe pictures in the media library with AI Describe or by hand?

Step 1: Add the page

  1. Choose Me → Admin → Pages → Add Page → Event Integration Page.
  2. Enter a Title, a Slug such as gallery, and a Header such as "Photos".
  3. Set Page Type to Galleries. The event field reads "Not required for this page type".
  4. Choose Save and close the message Page Saved.

Step 2: Choose the root folder at once

  1. Open the tab Configuration. The section Galleries Configuration appears.
  2. Under Root Folder, choose your folder. Until you do, the page shows Whole media library: every picture and video of the organizer.
  3. This is a carousel gallery shows all pictures under the root folder in one row that scrolls sideways. Folder browsing, the breadcrumb and the search are then switched off.
  4. Show breadcrumb shows the line with the path of open folders. Show search box shows the search.
  5. Choose Save.

What visitors see

At /c/gallery: folder tiles with a cover picture, picture tiles, the search box "Search media", and 50 pictures at a time. A picture opens the lightbox with First, Previous, Next, Last, a button to show the description, and Close. MP4 clips play without sound, with controls. An empty folder reads "This folder is empty."

Good to know

  • Pictures appear newest first. There is no manual order.
  • Only pictures that passed the automatic content check are shown; a flagged picture is left out.
  • The tab Access decides who may see the page. The picture addresses themselves stay public, also on a members-only page.
  • For a row of pictures on the start page, make a carousel gallery and add it as a block of a composite page: How do I build a page from several blocks with a composite page?

Common mistake

Saving the page without a root folder. The whole library is then public on that page, including the folder Uploaded by members with the pictures of members' articles. Choose a root folder right after the first save.

What run.events does not do here

There is no download button, no uploads by members, and no likes or comments on gallery pictures.

For members: browsing a gallery

Open a folder tile to go into it, and use Back or the breadcrumb to go up again. Type in "Search media" to find pictures by their name or description; "No media matches your search." means nothing matched. In a sliding row, use Scroll left and Scroll right.

Related articles