use a factory to generate gravatar src