
Overview
A flexible image block component that renders a single image with customizable styling options. Supports responsive display, color schemes, aspect ratios, and alignment controls.
Common use cases
- Consider image optimization by setting appropriate max_width
- Choose aspect ratio based on image content and layout needs
- Utilize color schemes to maintain fallback colors or backgrounds when using transparent images
Block settings
General
| Setting | Description | Options |
|---|---|---|
| Show advanced settings | Reveals visibility, load animation, and scroll animation | Checkbox (default: false) |
Content
| Setting | Description | Options |
|---|---|---|
| Image | The image to display | Image picker |
Spacing
| Setting | Description | Options |
|---|---|---|
| Enable horizontal padding | Adds horizontal padding around the content | Checkbox (default: false) |
| Enable top padding | Adds top padding around the content | Checkbox (default: false) |
| Enable bottom padding | Adds bottom padding around the content | Checkbox (default: false) |
Color
| Setting | Description | Options |
|---|---|---|
| Color scheme | Controls the background color scheme | • Body (default) |
| Border color | Controls the border color | • Body |
Style
| Setting | Description | Options |
|---|---|---|
| Border position | Controls which sides have borders | • None (default) |
| Radius | Controls the border radius | • None (default) |
| Enable aspect ratio | Forces the image to maintain a specific aspect ratio | Checkbox (default: false) |
| Aspect ratio | The aspect ratio to maintain | • Square |
Layout
| Setting | Description | Options |
|---|---|---|
| Width | Controls the width of the image | 5 - 100 % (default: 100) |
| Horizontal alignment | Controls horizontal alignment | • Left (default) |
Display
| Setting | Description | Options |
|---|---|---|
| Visibility | Controls when the block is visible | • All (default) Visible when Show advanced settings is on |
| Load animation | Animation when the block first loads | • None (default) Visible when Show advanced settings is on and Scroll animation is None |
| Scroll animation | Adds scroll-based animations to the block | • None (default) Visible when Show advanced settings is on and Load animation is None |