Changed default avatars to PNG as agreed with Mike here: https://redmatrix.nl/channel/jeroenpraat/?f=&mid=83603d8f0876c040efafce87755fcd252dbe8da4a75d82fdb230519e3c8dcb72@redmatrix.nl. Added a few new. You can set it like this: util/config system default_profile_photo red_avatar

This commit is contained in:
Jeroen
2014-10-05 18:32:28 +00:00
parent fe9de8e834
commit ae9b0c0e1b
32 changed files with 86 additions and 1 deletions

View File

@@ -1369,7 +1369,7 @@ function get_default_profile_photo($size = 175) {
$scheme = get_config('system','default_profile_photo');
if(! $scheme)
$scheme = 'rainbow_man';
return 'images/default_profile_photos/' . $scheme . '/' . $size . '.jpg';
return 'images/default_profile_photos/' . $scheme . '/' . $size . '.png';
}