0
0
Fork 0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-04-16 17:47:52 +00:00

Merge pull request 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

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.