mirror of
https://github.com/friendica/friendica
synced 2024-12-22 14:00:15 +00:00
adapted 300px image size for default avatar
This commit is contained in:
parent
cbc898d902
commit
95f9337e0e
3 changed files with 3 additions and 3 deletions
BIN
images/person-300.jpg
Normal file
BIN
images/person-300.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
|
@ -537,7 +537,7 @@ function dfrn_confirm_post(App $a, $handsfree = null)
|
|||
if (DBA::isResult($contact)) {
|
||||
$photo = $contact['photo'];
|
||||
} else {
|
||||
$photo = System::baseUrl() . '/images/person-175.jpg';
|
||||
$photo = System::baseUrl() . '/images/person-300.jpg';
|
||||
}
|
||||
|
||||
Contact::updateAvatar($photo, $local_uid, $dfrn_record);
|
||||
|
|
|
@ -51,7 +51,7 @@ function photo_init(App $a)
|
|||
exit;
|
||||
}
|
||||
|
||||
$default = 'images/person-175.jpg';
|
||||
$default = 'images/person-300.jpg';
|
||||
$public = true;
|
||||
|
||||
if (isset($type)) {
|
||||
|
@ -137,7 +137,7 @@ function photo_init(App $a)
|
|||
if (isset($resolution)) {
|
||||
switch ($resolution) {
|
||||
case 4:
|
||||
$data = file_get_contents('images/person-175.jpg');
|
||||
$data = file_get_contents('images/person-300.jpg');
|
||||
$mimetype = 'image/jpeg';
|
||||
break;
|
||||
case 5:
|
||||
|
|
Loading…
Reference in a new issue