From 75ebf06131e935795b7072acc012c9e37669eade Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 9 Dec 2013 14:05:52 -0800 Subject: some work on modularising the default profile photo so we can make them site selectable. Also red != friendica so we don't need all these friendica logos taking up space --- mod/photo.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'mod/photo.php') diff --git a/mod/photo.php b/mod/photo.php index 3e86b02ba..591d7198a 100644 --- a/mod/photo.php +++ b/mod/photo.php @@ -24,7 +24,7 @@ function photo_init(&$a) { $observer_xchan = get_observer_hash(); - $default = 'images/person-175.jpg'; + $default = 'images/default_profile_photos/rainbow_man/175.jpg'; if(isset($type)) { @@ -38,11 +38,11 @@ function photo_init(&$a) { case 'm': $resolution = 5; - $default = 'images/person-80.jpg'; + $default = 'images/default_profile_photos/rainbow_man/80.jpg'; break; case 's': $resolution = 6; - $default = 'images/person-48.jpg'; + $default = 'images/default_profile_photos/rainbow_man/48.jpg'; break; case 'l': default: @@ -135,15 +135,15 @@ function photo_init(&$a) { switch($resolution) { case 4: - $data = file_get_contents('images/person-175.jpg'); + $data = file_get_contents('images/default_profile_photos/rainbow_man/175.jpg'); $mimetype = 'image/jpeg'; break; case 5: - $data = file_get_contents('images/person-80.jpg'); + $data = file_get_contents('images/default_profile_photos/rainbow_man/80.jpg'); $mimetype = 'image/jpeg'; break; case 6: - $data = file_get_contents('images/person-48.jpg'); + $data = file_get_contents('images/default_profile_photos/rainbow_man/48.jpg'); $mimetype = 'image/jpeg'; break; default: -- cgit v1.2.3