I’m using triggers to create image varieties for assets added to a folder. However, I don’t want to upscale the source image.
For example, assume I have two actions:
- create variety v1, with max width of 1280 px
- create variety v2, with max width of 1920 px
Now, if I upload file.png of 1280x720, two varieties are created - v1 and v2. But, the upscaling quality is poor and image v2 looks bad.
Can I add a condition in the trigger so that v2 is not created (or uses source dimensions)? I’d like the actions to be executed only if the image dimensions are bigger than the proposed new variety.
Matrix Version: 6.27.0