Reduce letter avatar size by 50%

This commit is contained in:
Hadi Nategh 2019-07-22 15:01:13 +02:00
parent 6aaec6438f
commit 5b420c7d0d

View File

@ -107,7 +107,7 @@ class avatar
if ($ttf) if ($ttf)
{ {
ob_start(); ob_start();
imagejpeg($image, null,100); imagejpeg($image, null,50);
$result = ob_get_contents(); $result = ob_get_contents();
ob_clean(); ob_clean();
imagedestroy($image); imagedestroy($image);