adapted profile pic resize to 300px for whole system

This commit is contained in:
vinzv 2018-10-23 16:36:57 +02:00
parent 95f9337e0e
commit cb75c40f4e
13 changed files with 21 additions and 21 deletions

View file

@ -115,7 +115,7 @@ class Photo
$type = Image::guessType($image_url, true);
$Image = new Image($img_str, $type);
if ($Image->isValid()) {
$Image->scaleToSquare(175);
$Image->scaleToSquare(300);
$r = self::store($Image, $uid, $cid, $hash, $filename, 'Contact Photos', 4);
@ -172,7 +172,7 @@ class Photo
}
if ($photo_failure) {
$image_url = System::baseUrl() . '/images/person-175.jpg';
$image_url = System::baseUrl() . '/images/person-300.jpg';
$thumb = System::baseUrl() . '/images/person-80.jpg';
$micro = System::baseUrl() . '/images/person-48.jpg';
}