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:
@@ -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';
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user