bunny_optimizer
Features
This module integrates the Bunny Optimizer service as an image toolkit, allowing you to keep your existing image styles while offloading the generation and caching of image derivatives to Bunny CDN.
Post-Installation
Change the image toolkit by going to Configuration > Media > Image toolkit, selecting Bunny Optimizer and filling in the CDN hostname setting.
Image effects
The following standard image effects are supported by this image toolkit:
- Crop
- Desaturate
- Resize
- Scale
- Scale and crop
Other image effects should either be removed or be replaced by any of the custom image effects provided by this module:
- Automatically optimize
- Blur
- Brightness
- Contrast
- Flip vertically
- Flip horizontally
- Hue
- Quality
- Saturation
- Sepia
- Sharpen
- Smart Face Crop
Image classes
Bunny Optimizer image classes can be applied by creating an image style with only the Apply a Bunny Optimizer image class image effect. More information about this feature can be found here.
Additional Requirements
In addition to this module you need a Bunny CDN account with a pull zone configured to either pull images from an origin server or a Bunny storage zone.
Recommended modules/libraries
The Bunny CDN module can be used if your pull zone is configured to cache full page responses.