craftsnippets / craft-image-toolbox
Image toolbox
Installs: 14 199
Dependents: 0
Suggesters: 0
Security: 0
Stars: 16
Watchers: 3
Forks: 0
Open Issues: 12
Type:craft-plugin
Requires
- craftcms/cms: ^5.0.0
README
Image Toolbox is Craft CMS plugin that helps with the use of image transforms in templates.
Features
- Automatic creation of avif and webp variant of the images, with fallback for browsers that don't support these formats.
- Automatic creation of placeholder images. Plugin outputs either transformed image or placeholder with size based on image transform, if image is missing.
- Generating responsive images with multiple variants, displayed on specific breakpoints by using
<picture>
element. - Imager-x (or old Imager) support - but you can use it with native Craft image transforms as well.
Installation
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project
-
Then tell Composer to load the plugin:
composer require craftsnippets/craft-image-toolbox
-
In the Control Panel, go to Settings → Plugins and click the “Install” button for Image toolbox.
Documentation
Click here for Image toolbox documentation
Roadmap
- Retina support
- Applying transform on assets within HTML strings