Using a model function instead of gravatar plugin.