Browse Source

adapted 300px image size for default avatar

vinzv 6 months ago
parent
commit
95f9337e0e
3 changed files with 3 additions and 3 deletions
  1. BIN
      images/person-300.jpg
  2. 1
    1
      mod/dfrn_confirm.php
  3. 2
    2
      mod/photo.php

BIN
images/person-300.jpg View File


+ 1
- 1
mod/dfrn_confirm.php View File

@@ -537,7 +537,7 @@ function dfrn_confirm_post(App $a, $handsfree = null)
537 537
 		if (DBA::isResult($contact)) {
538 538
 			$photo = $contact['photo'];
539 539
 		} else {
540
-			$photo = System::baseUrl() . '/images/person-175.jpg';
540
+			$photo = System::baseUrl() . '/images/person-300.jpg';
541 541
 		}
542 542
 
543 543
 		Contact::updateAvatar($photo, $local_uid, $dfrn_record);

+ 2
- 2
mod/photo.php View File

@@ -51,7 +51,7 @@ function photo_init(App $a)
51 51
 		exit;
52 52
 	}
53 53
 
54
-	$default = 'images/person-175.jpg';
54
+	$default = 'images/person-300.jpg';
55 55
 	$public = true;
56 56
 
57 57
 	if (isset($type)) {
@@ -137,7 +137,7 @@ function photo_init(App $a)
137 137
 		if (isset($resolution)) {
138 138
 			switch ($resolution) {
139 139
 				case 4:
140
-					$data = file_get_contents('images/person-175.jpg');
140
+					$data = file_get_contents('images/person-300.jpg');
141 141
 					$mimetype = 'image/jpeg';
142 142
 					break;
143 143
 				case 5:

Loading…
Cancel
Save