Content Blocks
Image Blocks
A detailed look at Courier Image Block functionality, use cases and best practices.
Image Blocks
Image Blocks allow you to enhance your notifications with visual content across various channels. Image Blocks can improve the engagement and effectiveness of your notifications by providing visual context or appeal.
New Image Block
Channel-Specific Behaviors
In email notifications, Image Blocks display as embedded images, allowing for rich visual content.
SMS, Push
For SMS and push notifications:
- Image Blocks appear as URLs
- The rendering of these URLs depends on the integrated channel provider
Direct Message
For supported direct message integrations:
- Images are displayed in real-time within the Courier editor
- No preview links are shown
Image Block Rendering
Advanced Usage
Conditional Display
Like other content blocks, you can dynamically show or hide Image Blocks using conditional filters.
Setting up an Image Block Filter
Configuring Image Block Conditions
Best Practices
- Optimize for Mobile: Ensure images are responsive and look good on various device sizes
- File Size: Keep image file sizes small to improve loading times, especially for email
- Relevance: Use images that are relevant to your message content
- Accessibility: Always include descriptive alt text for screen readers
- Fallback: Provide text alternatives for channels that may not support images
Read more: Content block basics