craft-imageoptimize
craft-imageoptimize copied to clipboard
Image variant console command doesn't work without asset volume handle
Describe the bug
php craft image-optimize/optimize/create doesn't do anything for me like the docs suggest it would. It just outputs "Creating optimized image variants" and stops. I have to run php craft image-optimize/optimize/create myVolumeHandle for each of my volumes to generate images.
To reproduce
Run php craft image-optimize/optimize/create
Expected behaviour
All asset volumes with an ImageOptimize field get their variants generated.
Versions
- Plugin version: 4.0.2
- Craft version: 4.2.0.2