I am looking for a solution to output nothing instead the default avatar when a user does not have any avatar.
I am currently using this line. I looked at the function and the only thing I got so far is to use
blank as default avatar but its still occupies space and I do not want that.
echo get_avatar( get_the_author_meta( 'ID' ), 70, 'blank', __( 'avatar', 'bla' ) );
Sidenote: Even that blank avatar gets pulled from Gravatar, I think this is ridiculous.