Closed krizzzly closed 1 year ago
Sorry for the late response.
This should be covered by either Craft's upscaleImages
setting, or the Imager plugin's allowUpscale
setting, depending on which one Retcon is using to create the transforms.
I've encountered this too and I created an issue with Craft because I thought the upscaling was occurring both with and without Retcon.
Turns out that when outside Retcon, images were being created in transform folders, but weren't actually being scaled up. But when testing the same images inside Retcon, they do get scaled up.
Iwona from Craft has pointed out where she thinks the problem lies. It seems that the scaleIfSmaller
parameter is set to true
in all cases.
This has been fixed for the next release.
Hi,
adding the following lines enables us to leave out images that are too small for the desired transformation
vendor/mmikkel/retcon/src/library/RetconHelper.php:256
Maybe we could add a parameter to the twig config array to apply this effect.
Kind regards