change default profile photo to something more interesting than a reddish brown square
This commit is contained in:
parent
92ef36ad61
commit
894278dbcc
9 changed files with 10 additions and 10 deletions
|
@ -655,7 +655,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) {
|
|||
if(count($r))
|
||||
$photo = $r[0]['photo'];
|
||||
else
|
||||
$photo = $a->get_baseurl() . '/images/default-profile.jpg';
|
||||
$photo = $a->get_baseurl() . '/images/person-175.jpg';
|
||||
|
||||
require_once("Photo.php");
|
||||
|
||||
|
|
|
@ -143,7 +143,7 @@ function notifications_content(&$a) {
|
|||
'$intro_id' => $rr['intro_id'],
|
||||
'$madeby' => sprintf( t('suggested by %s'),$rr['name']),
|
||||
'$contact_id' => $rr['contact-id'],
|
||||
'$photo' => ((x($rr,'fphoto')) ? $rr['fphoto'] : "images/default-profile.jpg"),
|
||||
'$photo' => ((x($rr,'fphoto')) ? $rr['fphoto'] : "images/person-175.jpg"),
|
||||
'$fullname' => $rr['fname'],
|
||||
'$url' => $rr['furl'],
|
||||
'$hidden' => array('hidden', t('Hide this contact from others'), ($rr['hidden'] == 1), ''),
|
||||
|
|
|
@ -23,7 +23,7 @@ function photo_init(&$a) {
|
|||
// NOTREACHED
|
||||
}
|
||||
|
||||
$default = 'images/default-profile.jpg';
|
||||
$default = 'images/person-175.jpg';
|
||||
|
||||
if(isset($type)) {
|
||||
|
||||
|
@ -39,12 +39,12 @@ function photo_init(&$a) {
|
|||
break;
|
||||
case 'micro':
|
||||
$resolution = 6;
|
||||
$default = 'images/default-profile-mm.jpg';
|
||||
$default = 'images/person-48.jpg';
|
||||
break;
|
||||
case 'avatar':
|
||||
default:
|
||||
$resolution = 5;
|
||||
$default = 'images/default-profile-sm.jpg';
|
||||
$default = 'images/person-80.jpg';
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue