craft-imageoptimize icon indicating copy to clipboard operation
craft-imageoptimize copied to clipboard

Image variant console command doesn't work without asset volume handle

Open simonkuran opened this issue 3 years ago • 0 comments

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

simonkuran avatar Jul 28 '22 11:07 simonkuran