From d5074c52862972ff0454be88f15f0bf83bdf203f Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Fri, 28 Aug 2015 05:41:25 +0930 Subject: [PATCH] Use gd as the image driver Presumably gd is more common than imagick, and we already check for it during installation. --- src/Core/Users/Commands/UploadAvatarHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Users/Commands/UploadAvatarHandler.php b/src/Core/Users/Commands/UploadAvatarHandler.php index 1563cb1c3..6903be46d 100644 --- a/src/Core/Users/Commands/UploadAvatarHandler.php +++ b/src/Core/Users/Commands/UploadAvatarHandler.php @@ -65,7 +65,7 @@ class UploadAvatarHandler $tmpFile = tempnam(sys_get_temp_dir(), 'avatar'); $command->file->moveTo($tmpFile); - $manager = new ImageManager(['driver' => 'imagick']); + $manager = new ImageManager(); $manager->make($tmpFile)->fit(100, 100)->save(); event(new AvatarWillBeSaved($user, $actor, $tmpFile));