mirror of
https://github.com/friendica/friendica
synced 2025-05-01 03:04:23 +02:00
adapted profile pic resize to 300px for whole system
This commit is contained in:
parent
95f9337e0e
commit
cb75c40f4e
13 changed files with 21 additions and 21 deletions
|
@ -465,7 +465,7 @@ class Contact extends BaseObject
|
|||
$fields['micro'] = $prefix . '6' . $suffix;
|
||||
} else {
|
||||
// We hadn't found a photo entry, so we use the default avatar
|
||||
$fields['photo'] = System::baseUrl() . '/images/person-175.jpg';
|
||||
$fields['photo'] = System::baseUrl() . '/images/person-300.jpg';
|
||||
$fields['thumb'] = System::baseUrl() . '/images/person-80.jpg';
|
||||
$fields['micro'] = System::baseUrl() . '/images/person-48.jpg';
|
||||
}
|
||||
|
|
|
@ -995,7 +995,7 @@ class GContact
|
|||
"addr" => $user->nickname."@".$hostname,
|
||||
"nick" => $user->nickname,
|
||||
"network" => Protocol::OSTATUS,
|
||||
"photo" => System::baseUrl()."/images/person-175.jpg"];
|
||||
"photo" => System::baseUrl()."/images/person-300.jpg"];
|
||||
|
||||
if (isset($user->bio)) {
|
||||
$contact["about"] = $user->bio;
|
||||
|
|
|
@ -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';
|
||||
}
|
||||
|
|
|
@ -642,7 +642,7 @@ class User
|
|||
|
||||
$Image = new Image($img_str, $type);
|
||||
if ($Image->isValid()) {
|
||||
$Image->scaleToSquare(175);
|
||||
$Image->scaleToSquare(300);
|
||||
|
||||
$hash = Photo::newResource();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue