Media gallery component
media_gallery
Example scripts
A media gallery shows several images in a gallery.
Schema fields #
| Key | Type | Description |
|---|---|---|
component |
String | For media galleries always media_gallery. |
items |
List of Media gallery items | The images in the gallery. |
Media gallery item#
Schema fields #
| Key | Type | Description |
|---|---|---|
media |
File object | The image file to show. |
description |
String | The alt text for the image. |
spoiler |
Boolean | Whether to show the image as a spoiler. |