diff --git a/src/Core/Command/UploadAvatarHandler.php b/src/Core/Command/UploadAvatarHandler.php index 6045cb88f..e0fed57d1 100644 --- a/src/Core/Command/UploadAvatarHandler.php +++ b/src/Core/Command/UploadAvatarHandler.php @@ -101,7 +101,7 @@ class UploadAvatarHandler $manager = new ImageManager; // Explicitly tell Intervention to encode the image as JSON (instead of having to guess from the extension) - $encodedImage = $manager->make($tmpFile)->fit(100, 100)->encode('jpg', 100); + $encodedImage = $manager->make($tmpFile)->orientate()->fit(100, 100)->encode('jpg', 100); file_put_contents($tmpFile, $encodedImage); $this->events->fire(