A grid gallery block that displays media from a selected product. It iterates through the selected product's media to display images, videos, external videos, and 3D models. The block is highly customizable, supporting various styling options including color schemes, border configurations, and responsive visibility settings.
This is a private block. It is intended for use only within specific parent blocks and should not be added directly to sections.
To filter or reorder images by variant, use the gallery inside the Product section and select the same product in both settings.
Blue shirt from the back #Color_Blue. Use your product's actual option name and value.Enable full screen gallery is on by default. Customers can click or tap a photo, or use the full-screen button on a video or 3D model. The viewer opens on that item and follows the gallery’s variant filtering. Item count limits the inline gallery. Customers can see additional media in the full-screen view.
The viewer scrolls horizontally on desktop and vertically on mobile. Customers can also use Previous, Next, or the arrow keys to browse, and Close or Esc to return to the page.
| Setting | Description | Options |
|---|---|---|
| Show advanced settings | Reveals device visibility for the gallery | Checkbox (default: false) |
| Setting | Description | Options |
|---|---|---|
| Show selected variant images only | Filter media for the selected variant on products with fewer than 50 variants. | Checkbox (default: false) |
| Move selected variant image first | Works independently of image filtering on products with fewer than 50 variants. | Checkbox (default: true) |
| Product | Select the product to display media from | Product picker |
| Item count | Number of media items to display inline (0 = all media) | Number input (default: 7) |
| Show alt text | Shows each image’s alt text under the media when set | Checkbox (default: false) |
| Setting | Description | Options |
|---|---|---|
| Color scheme | Controls the background and text colors | • Body (default) |
| Color border | Controls the border color | • Body |
| Setting | Description | Options |
|---|---|---|
| Border position | Controls where borders appear | • None (default) |
| Setting | Description | Options |
|---|---|---|
| Enable aspect ratio | Maintains consistent aspect ratio for all media items | Checkbox (default: false) |
| Enable full screen gallery | Open the selected media in a full-screen viewer. | Checkbox (default: true) |
| Enable zoom on hover | Magnify images when customers hover over them. | Checkbox (default: false) |
| Show entire image | Displays entire image without cropping | Checkbox (default: true) |
| Aspect ratio | Aspect ratio for media items | • Square |
| Setting | Description | Options |
|---|---|---|
| Visibility | Controls when the block is visible | • All (default) Visible when Show advanced settings is on |
Start by connecting your source repository and choosing the pages you want to publish.
You can then browse your documentation and ask questions about the content your team has shared.