k4 / k4-image-optimizer
Image Optimizer
3.0.0
2023-09-21 14:23 UTC
Requires
- craftcms/cms: ^4.0.0-beta.1
- flipboxfactory/craft-psr3: *
- shortpixel/shortpixel-php: *
- spatie/image-optimizer: *
- tinify/tinify: *
Requires (Dev)
- craftcms/rector: dev-main
This package is auto-updated.
Last update: 2025-02-26 16:43:26 UTC
README
Image Optimizer
Requirements
This plugin requires Craft CMS 3.0.0-beta.23 or later.
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 k4/k4-image-optimizer
In the Control Panel, go to Settings → Plugins and click the “Install” button for K4 Image Optimizer.
K4 Image Optimizer Overview
- In Control Panel open the settings page
- Supply API-Keys for Tinify or ShortPixel
- Supply binary path for your local image optimization tools like jpegoptim,optipng,pngquant,svgo,gifsicle
Configuring K4 Image Optimizer
-Insert text here-
Using K4 Image Optimizer
- In Control Panel / Utilities choose "Bilder optimieren"
- Choose your optimization Method
- All images with a preceeding "_" will get optimized
K4 Image Optimizer Roadmap
Some things to do, and ideas for potential features:
- add translations
Brought to you by Christian Hiller