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
|
@ -516,7 +516,7 @@ class Network
|
|||
|
||||
public static function lookupAvatarByEmail($email)
|
||||
{
|
||||
$avatar['size'] = 175;
|
||||
$avatar['size'] = 300;
|
||||
$avatar['email'] = $email;
|
||||
$avatar['url'] = '';
|
||||
$avatar['success'] = false;
|
||||
|
@ -524,7 +524,7 @@ class Network
|
|||
Addon::callHooks('avatar_lookup', $avatar);
|
||||
|
||||
if (! $avatar['success']) {
|
||||
$avatar['url'] = System::baseUrl() . '/images/person-175.jpg';
|
||||
$avatar['url'] = System::baseUrl() . '/images/person-300.jpg';
|
||||
}
|
||||
|
||||
logger('Avatar: ' . $avatar['email'] . ' ' . $avatar['url'], LOGGER_DEBUG);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue