using getAvatar();

Implementing issue #505