I am using intervention to manipulate some images with Laravel 11.
My code works fine in local environment.
When I deploy the application in production (heroku), the same code produces a surprising phenomenon: the image undergoes a rotation, sometimes by 90°, sometimes by 180°.
And the same image is not rotared locally, but is in production !
I tried to play with the “autoOrientation” parameter, without success. The image is still rotated.
My code is very simple :
$manager = new ImageManager(new Driver);
$image = $manager->read($media);
$image->save('transformed_image');
I read here and there that there is a story about “exif” data. Is this an indication ?
What could be my mistake ?