Open
Description
I'm receiving the following error trying to save a photo with variants:
InvalidArgumentException with message 'Height value for portrait resize is empty. This may be caused by unfixed EXIF-rotated images'
This is my model set up:
$this->hasAttachedFile('image', [
'variants' => [
Variant::make('thumbnail')->steps([
AutoOrientStep::make(),
ResizeStep::make()->width(300),
]),
Variant::make('zoom')->steps([
AutoOrientStep::make(),
ResizeStep::make()->width(1280)->convertOptions(['quality' => 100]),
]),
],
]);
This is the image I am trying to save with variants when I receive the error:
I have no clue what this error means. Can you explain?