From: vinzv Date: Tue, 23 Oct 2018 13:16:58 +0000 (+0200) Subject: adapted 300px image size for default avatar X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=95f9337e0e9e681a2e4610f21f2871a43ca1feb8;p=friendica.git adapted 300px image size for default avatar --- diff --git a/images/person-300.jpg b/images/person-300.jpg new file mode 100644 index 0000000000..8173082113 Binary files /dev/null and b/images/person-300.jpg differ diff --git a/mod/dfrn_confirm.php b/mod/dfrn_confirm.php index f685d9e237..c411059664 100644 --- a/mod/dfrn_confirm.php +++ b/mod/dfrn_confirm.php @@ -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); diff --git a/mod/photo.php b/mod/photo.php index 083b7cfc99..54418f730d 100644 --- a/mod/photo.php +++ b/mod/photo.php @@ -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: