
A versatile product media block that renders product images or videos with extensive customization options. Features include hover effects with secondary media, aspect ratio control, flexible padding and spacing, comprehensive color schemes, and responsive visibility settings. The block automatically detects and handles both image and video media types from the product's media collection.
| Setting | Description | Options |
|---|---|---|
| Show advanced settings | Reveals visibility settings | Checkbox (default: false) |
| Setting | Description | Options |
|---|---|---|
| Product | Select the product to display media for | Product picker |
| Show second image on hover | Displays the second product image when hovering over the first | Checkbox (default: true) |
| Setting | Description | Options |
|---|---|---|
| Enable horizontal padding | Adds horizontal padding around the media | Checkbox (default: false) |
| Enable top padding | Adds top padding around the media | Checkbox (default: false) |
| Enable bottom padding | Adds bottom padding around the media | Checkbox (default: false) |
| Setting | Description | Options |
|---|---|---|
| Color scheme | Controls the background color scheme | • Body |
| Color border | Controls the border color | • Body |
| Setting | Description | Options |
|---|---|---|
| Border position | Controls where borders appear | • None (default) |
| Enable aspect ratio | Forces the media to maintain a specific aspect ratio | Checkbox (default: false) |
| Show entire image | Uses object-contain instead of object-cover to show full image | Checkbox (default: true) |
| Aspect ratio | The aspect ratio to maintain | • 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.