before callback to generate gravatar link to image