adding if around gravatar to avoid seeing the default image