get_avatar returns image, get_avatar_url will give you the image src.