diff options
author | friendica <info@friendica.com> | 2013-12-09 14:05:52 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-12-09 14:05:52 -0800 |
commit | 75ebf06131e935795b7072acc012c9e37669eade (patch) | |
tree | eeda74b3434fc593eff6dc4600bfd8924915021c /mod/photo.php | |
parent | 31efbe2f466a323609f9ed8d38bb5fb6223e406b (diff) | |
download | volse-hubzilla-75ebf06131e935795b7072acc012c9e37669eade.tar.gz volse-hubzilla-75ebf06131e935795b7072acc012c9e37669eade.tar.bz2 volse-hubzilla-75ebf06131e935795b7072acc012c9e37669eade.zip |
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
Diffstat (limited to 'mod/photo.php')
-rw-r--r-- | mod/photo.php | 12 |
1 files changed, 6 insertions, 6 deletions
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: |