add_gallery
Create image galleries with grid layouts for WordPress pages using Elementor. Specify columns, add images with captions, and enable lightbox functionality.
Instructions
Add an image gallery section with grid layout
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | Page ID | |
| heading | No | Section heading (e.g., "Our Gallery") | |
| images | Yes | Array of images for the gallery | |
| columns | No | Number of columns (2, 3, or 4). Default: 3 | |
| lightbox | No | Enable lightbox on click (default: true) |