Merge pull request #5463 from BookStackApp/v24-12

v24-12 branch changes
This commit is contained in:
Dan Brown 2025-02-23 11:22:12 +00:00 committed by GitHub
commit 0e343c408f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -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.