Image Widget
The Image Widget displays images with optional fade animations. It's perfect for logos, photos, graphics, and any visual content that needs to appear smoothly in your videos.
Basic Usage
<img data-type="image"
src="https://example.com/image.jpg"
alt="Description"
data-animate="fade"
data-ease="easeIn"
data-duration-animation="2"
data-start="1"
class="w-32 h-32" />Attributes
data-type
string
-
Must be "image"
src
string
-
Image URL (required)
alt
string
-
Alt text for accessibility
data-animate
string
-
Animation type: "fade"
data-ease
string
-
Easing function: "easeIn", "easeOut"
data-duration-animation
number
2
Animation duration in seconds
data-start
number
0
When animation starts in seconds
Animation Behavior
Fade Animation
The image widget supports fade animations that smoothly transition the element's opacity:
Before start: Image is invisible (opacity: 0)
During animation: Fades in from 0 to 1 opacity
After animation: Remains fully visible (opacity: 1)
Easing Functions
easeIn
Slow start, fast end
Images appearing
easeOut
Fast start, slow end
Images disappearing
Default
Cubic ease-out
General use
Examples
Simple Logo Display
Multiple Images
Image with Text Overlay
Styling Options
Image Sizes
Image Shapes
Image Effects
Animation Timing
Quick Fade (1 second)
Slow Fade (4 seconds)
Delayed Start
Common Use Cases
Logo Introduction
Product Showcase
Team Introduction
Image Security & Domain Restrictions
Tintage implements security measures to protect users and ensure content safety. All images must come from approved domains.
Allowed Image Domains
Images can only be loaded from these whitelisted domains:
dklbe7bjw8h2k.cloudfront.net- Tintage's CloudFront CDNpublic-worker.tintage.workers.dev- Tintage's worker servicestintage-bucket.tintage.workers.dev- Tintage's video and asset storagetintage.com- Tintage's main domainimages.unsplash.com- Unsplash image serviceimages.pexels.com- Pexels free stock photoscdn.pixabay.com- Pixabay free stock photos
Blocked Content
The following image sources are automatically blocked:
❌ Base64 data URLs (
data:image/...)❌ Unauthorized domains (any domain not in the whitelist)
❌ Invalid or malformed URLs
❌ Local file paths (
file://)
What Happens When Images Are Blocked
When an image from an unauthorized domain is detected:
In the editor: Shows "Blocked: Unauthorized domain" message
In the final video: Image is replaced with a placeholder
Console warnings: Logged for debugging purposes
Using Approved Image Sources
Tintage Image Uploader (Recommended)
We strongly recommend using Tintage's built-in image uploader for all custom images. This ensures:
✅ Automatic optimization for video rendering
✅ Reliable hosting with guaranteed uptime
✅ No external dependencies or broken links
✅ Seamless integration with the template editor
To use the uploader:
Click the image picker button in the template editor
Upload your custom image through the interface
The system automatically generates the correct CloudFront URL
Your image is ready to use in templates
Learn more: For detailed information about the image uploader and template editor, see Template Editor and Getting Started with Templates.
Stock Photo Services
For high-quality stock photos, you can use these approved services:
Unsplash Images:
Pexels Images:
Pixabay Images:
Tintage Domain Assets
For official Tintage assets:
Best Practices
Image Requirements
Format: JPG, PNG, GIF, WebP
Size: Optimize for web (recommended max 2MB)
URL: Must be from an approved domain and publicly accessible
Dimensions: Use appropriate aspect ratios
Security: Only use images from whitelisted domains
Upload Method: Use Tintage's image uploader for best results
Recommended Workflow
Upload First: Always use Tintage's image uploader for custom images
Use Presets: Leverage the built-in image picker with approved sources
Test Early: Verify images load correctly in the template editor
Optimize: Ensure images are properly sized and compressed
Need help? Check out our Template Editor Guide for step-by-step instructions on using the image uploader and Security Documentation for understanding domain restrictions.
Performance Tips
Optimize images: Compress images before uploading
Use appropriate sizes: Don't use oversized images
Consider loading: Test with slower connections
Alt text: Always include descriptive alt text
Visual Design
Consistent sizing: Use consistent image sizes throughout
Proper spacing: Add margins and padding as needed
High quality: Use high-resolution images
Accessibility: Ensure good contrast and readability
Advanced Techniques
Image Carousel Effect
Mixed with Other Widgets
Troubleshooting
Image Not Loading
Problem: Image doesn't appear in the video
Solutions:
Check that the image URL is correct and accessible
Verify the image format is supported (JPG, PNG, GIF, WebP)
Ensure the image is not too large (max 2MB recommended)
Test the URL in a browser to confirm it loads
Check domain restrictions: Ensure the image URL is from an approved domain
Image Blocked by Security
Problem: Image shows "Blocked: Unauthorized domain" message
Solutions:
Use Tintage's uploader: Upload custom images through the built-in image uploader (recommended)
Use approved domains: Only use images from whitelisted domains:
dklbe7bjw8h2k.cloudfront.net(Tintage CloudFront)public-worker.tintage.workers.dev(Tintage Workers)tintage-bucket.tintage.workers.dev(Tintage video storage)tintage.com(Tintage main domain)images.unsplash.com(Unsplash)images.pexels.com(Pexels)cdn.pixabay.com(Pixabay)
Avoid base64: Don't use
data:image/...URLsUse image picker: Leverage the built-in image picker with preset approved images
Learn more: See our Security and Domain Restrictions Guide for complete information about approved domains and troubleshooting blocked images.
Image Not Animating
Problem: Image appears but doesn't fade in
Solutions:
Check that
data-type="image"is set correctlyVerify
data-animate="fade"is includedMake sure
data-starttime is reasonableEnsure
data-duration-animationis set
Poor Image Quality
Problem: Image appears blurry or pixelated
Solutions:
Use higher resolution source images
Ensure the image dimensions match your display size
Avoid stretching small images to large sizes
Use appropriate image formats (PNG for graphics, JPG for photos)
Layout Issues
Problem: Image positioning or sizing is wrong
Solutions:
Use appropriate CSS classes for sizing (w-32, h-32, etc.)
Check positioning classes (absolute, top-1/2, etc.)
Ensure container has proper dimensions
Test different size combinations
Related Widgets
Text Widget - For captions and labels
Container Widget - For grouping images
Counter Widget - For combining with statistics
Last updated