Skip to content

Commit

Permalink
Merge pull request #5463 from BookStackApp/v24-12
Browse files Browse the repository at this point in the history
v24-12 branch changes
  • Loading branch information
ssddanbrown authored Feb 23, 2025
2 parents 5c78f83 + 4f5f7c1 commit 0e343c4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/Uploads/ImageResizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,10 @@ public function resizeImageData(
*/
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.
Expand Down

0 comments on commit 0e343c4

Please sign in to comment.