CMT Sites Documentation

Gallery

Last modified with commit 449aa34 on by Sara Deric.

Gallery preview with image grid and optional video embed (YouTube or Cloudinary-hosted). Shows 3-4 preview images with plus N button indicating additional images. Video section has play button overlay. Opens full gallery lightbox or video player on click.

Functional Documentation

RoleScenarioDescription
systemDisplay gallery layoutsShows image grid with 3 preview images and a "+N" button displaying the count of additional images (e.g., "+12" means 12 more images available). Optional video section with title and play button. When present, the video occupies the left column on desktop and stacks above the images on mobile — the video takes the first place where the leading image would otherwise appear. Note: the video opens using the site-wide lightbox/player plugin (may be slightly different from the image lightbox behaviour).
editorConfigure optional videoVideo is optional. Editor may add a video with title and a play-button overlay. If a video is added, it replaces the leading image position in the gallery layout. Supported sources: YouTube or Cloudinary-hosted video; editor provides video URL and optional poster image.
userView gallery and videoClick plus button to open full gallery lightbox. Click play button to watch video. Click any image to open lightbox at that image.

Properties

Responsive (Variant)

ValueExample
Desktop
Mobile