]> git.mxchange.org Git - friendica.git/commitdiff
adapted 300px image size for default avatar
authorvinzv <vinz@vinzv.de>
Tue, 23 Oct 2018 13:16:58 +0000 (15:16 +0200)
committervinzv <vinz@vinzv.de>
Tue, 23 Oct 2018 13:16:58 +0000 (15:16 +0200)
images/person-300.jpg [new file with mode: 0644]
mod/dfrn_confirm.php
mod/photo.php

diff --git a/images/person-300.jpg b/images/person-300.jpg
new file mode 100644 (file)
index 0000000..8173082
Binary files /dev/null and b/images/person-300.jpg differ
index f685d9e237774a05867a6196bbed8306591f75eb..c4110596648d15421514bd5be595eaa93a6ad067 100644 (file)
@@ -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);
index 083b7cfc99bdd2a4076fd8e9f9fbb8003930294e..54418f730d09e1789208dd78447bb9d0376359c6 100644 (file)
@@ -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: