- Issue created by @samberry
- Status changed to Needs review
5 months ago 11:52am 21 August 2024
When using the focal point scale by width style added here: https://www.drupal.org/project/focal_point/issues/2997675 ✨ Provide image effect to scale by width only RTBC along with imagemagick I get this error:
The image toolkit ‘imagemagick’ failed processing ‘crop’ for image ‘public://2023-09/image-test.jpg’. Reported error: TypeError - round(): Argument #1 ($num) must be of type int|float, string given
I've cast all of the values as integers when passing to the crop() function
Needs review
2.1
Other Code