Thumbnails: Fixed thumnail orientation
Prevents double rotation caused from both our own orientation handling upon that invervention was auto-applying since v3. Fixes #5462
This commit is contained in:
parent
ee88832f1a
commit
4f5f7c10b1
|
@ -158,7 +158,10 @@ class ImageResizer
|
|||
*/
|
||||
protected function interventionFromImageData(string $imageData, ?string $fileType): InterventionImage
|
||||
{
|
||||
$manager = new ImageManager(new Driver());
|
||||
$manager = new ImageManager(
|
||||
new Driver(),
|
||||
autoOrientation: false,
|
||||
);
|
||||
|
||||
// Ensure gif images are decoded natively instead of deferring to intervention GIF
|
||||
// handling since we don't need the added animation support.
|
||||
|
|
Loading…
Reference in New Issue