Is there something in particular I need to do to make this work (setting, installation, activate some plugin etc.) except creating the file already mentioned? Because when I try this I only get a red X where the avatar should be.
EDIT: My bad.
By testing around a bit, I realized my problem is caused by this
code only working for uploaded avatars. Is there a way to tweak it so it works as well with remote avatars and avatar gallerys?