How it works
Add transformation parameters to any image URL served through your Pull Zone:Prerequisites
Before using Dynamic Images, ensure:- Bunny Optimizer is enabled on your Pull Zone
- Dynamic Image API is enabled in Optimizer settings (Optimizer → Settings)
- (Optional) Create Image Classes for predefined transformation presets
Quick examples
Perfect for responsive images across different devices and screen resolutions. Resize while maintaining aspect ratio:Available transformations
Resizing
Resize by width or height while maintaining aspect ratio
Cropping
Crop to dimensions, aspect ratios, or focal points
Face Detection
Automatically detect and crop around faces
Color Manipulation
Adjust saturation, hue, contrast, tint, and sepia
Luminosity
Control brightness and gamma for exposure correction
Blur and Sharpen
Apply blur effects or enhance sharpness
Reflections and Rotations
Flip, flop, and rotate in 90-degree increments
Quality
Control compression levels and file size
Formats
Convert between JPEG, PNG, WebP, and GIF
Transformation order
When combining multiple parameters, transformations are applied in a specific order:- Crop operations (
crop,aspect_ratio,focus_crop,face_crop) - Resize operations (
width,height) - Reflections and rotations (
flip,flop,rotate) - Color and luminosity adjustments (
brightness,gamma,contrast,saturation,hue,tint,sepia) - Filters (
blur,sharpen) - Format and quality (
format,quality)
Performance and caching
All transformations are processed once and cached at the edge:- First request: Bunny Optimizer processes the transformation and stores the result in the global CDN cache
- Subsequent requests: Served instantly from the nearest edge location
- Cache invalidation: Purging the original image also purges all transformed variations