diff options
author | friendica <info@friendica.com> | 2012-03-20 15:41:06 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-03-20 15:41:06 -0700 |
commit | 894278dbcc83857a9140a03eb6064c642b5ce293 (patch) | |
tree | a02c950595006ad436b68bc0af3b4abc60238016 /include | |
parent | 92ef36ad61bc96905b062a727d1f4558ed734bdb (diff) | |
download | volse-hubzilla-894278dbcc83857a9140a03eb6064c642b5ce293.tar.gz volse-hubzilla-894278dbcc83857a9140a03eb6064c642b5ce293.tar.bz2 volse-hubzilla-894278dbcc83857a9140a03eb6064c642b5ce293.zip |
change default profile photo to something more interesting than a reddish brown square
Diffstat (limited to 'include')
-rwxr-xr-x | include/Photo.php | 6 | ||||
-rwxr-xr-x | include/Scrape.php | 2 | ||||
-rwxr-xr-x | include/nav.php | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/include/Photo.php b/include/Photo.php index 1450374ff..4d02b5c65 100755 --- a/include/Photo.php +++ b/include/Photo.php @@ -268,9 +268,9 @@ function import_profile_photo($photo,$uid,$cid) { $photo_failure = true; if($photo_failure) { - $photo = $a->get_baseurl() . '/images/default-profile.jpg'; - $thumb = $a->get_baseurl() . '/images/default-profile-sm.jpg'; - $micro = $a->get_baseurl() . '/images/default-profile-mm.jpg'; + $photo = $a->get_baseurl() . '/images/person-175.jpg'; + $thumb = $a->get_baseurl() . '/images/person-80.jpg'; + $micro = $a->get_baseurl() . '/images/person-48.jpg'; } return(array($photo,$thumb,$micro)); diff --git a/include/Scrape.php b/include/Scrape.php index 8344aa737..9c237916b 100755 --- a/include/Scrape.php +++ b/include/Scrape.php @@ -684,7 +684,7 @@ function probe_url($url, $mode = PROBE_NORMAL) { if(! x($vcard,'photo')) { $a = get_app(); - $vcard['photo'] = $a->get_baseurl() . '/images/default-profile.jpg' ; + $vcard['photo'] = $a->get_baseurl() . '/images/person-175.jpg' ; } if(! $profile) diff --git a/include/nav.php b/include/nav.php index e28081839..f40e92dbc 100755 --- a/include/nav.php +++ b/include/nav.php @@ -55,7 +55,7 @@ function nav(&$a) { // user info $r = q("SELECT micro FROM contact WHERE uid=%d AND self=1", intval($a->user['uid'])); $userinfo = array( - 'icon' => (count($r) ? $r[0]['micro']: $a->get_baseurl($ssl_state)."/images/default-profile-mm.jpg"), + 'icon' => (count($r) ? $r[0]['micro']: $a->get_baseurl($ssl_state)."/images/person-48.jpg"), 'name' => $a->user['username'], ); |