Always return an avatar, and set a fun default

This commit is contained in:
snipe 2017-10-24 13:02:30 -07:00
parent dc805dd9b1
commit bbda0dc3b4
3 changed files with 2 additions and 1 deletions

View file

@ -287,7 +287,8 @@ class UserPresenter extends Presenter
return "//gravatar.com/avatar/".$gravatar;
}
return false;
// Set a fun, gender-neutral default icon
return url('/').'/img/default-sm.png';
}

BIN
public/img/default-sm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
public/img/default.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB