Skip to content
Snippets Groups Projects
Commit aa643988 authored by Florian Azizian's avatar Florian Azizian
Browse files

FEAT #11228 TIME 0:45 Resize gif picture

parent 1fe24ad0
No related branches found
No related tags found
No related merge requests found
...@@ -286,7 +286,7 @@ class UserController ...@@ -286,7 +286,7 @@ class UserController
$imagick->rotateImage(new \ImagickPixel(), $body['pictureOrientation']); $imagick->rotateImage(new \ImagickPixel(), $body['pictureOrientation']);
} }
$imagick->thumbnailImage(100, null); $imagick->thumbnailImage(100, null);
$body['picture'] = base64_encode($imagick->getImageBlob()); $body['picture'] = base64_encode($imagick->getImagesBlob());
$set = [ $set = [
'picture' => $infoContent . $body['picture'] 'picture' => $infoContent . $body['picture']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment