spacecatninja / craft-imager-x

Image transforms, optimizations and manipulations for your Craft CMS site.
Other
26 stars 16 forks source link

No transformed images #236

Closed anvme closed 1 year ago

anvme commented 1 year ago
### I'm submitting a...

Steps to reproduce

  1. Control panel->Settings->Assets Create new asset
  2. Create file config/imager-x-generate.php
    <?php
    return [
    'volumes' => [
        'testlocalasset' => ['ImgTransform']
    ]
    ];
  3. Create file config/imager-x-transforms.php
    <?php
    return [
    'ImgTransform' => [
        'displayName' => 'List Thumbnail',
        'transforms' => [
            ['width' => 200],
            ['width' => 400]
        ],
        'defaults' => [
            'format' => 'jpg'
        ]
    ]
    ];
  4. Upload new image in assets in the control panel
  5. Then, I see the image uploaded successfully.
  6. Run command /app $ ./craft imager-x/generate --volume=testlocalasset The result is
    
    > Volume `testlocalasset`
    > Not recursive

Generating 2 named transform(s) for 2 image(s).

  • [2/4] (50) IMG_4148.PNG ... done
  • [4/4] (48) bridge.jpg ... done Done.

Description

In the folder I have uploaded images, I don't see any transforms with 200px and 400px size ### Displayed errors, stack trace, relevant logs
No Errors

Additional info

Imager version & edition 4.2.1 PRO Imager transformer craft Craft version & edition 4.4.16.1 PRO PHP version 8.0.29 Image driver & version Imagick 3.7.0 (ImageMagick 7.1.0-50) Image driver supported formats jpg, jpeg, gif, png, webp, avif, heic Custom encoders No custom encoders configured. Enabled external storages No external storage configured. Enabled optimizers

anvme commented 1 year ago
aelvan commented 1 year ago

Imager transforms are stored in their own folder, not alongside Craft's transforms. By default /web/imager, I suggest you check there.