Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

Is it possible to use a generic avatar if the user's email address is not in gravatar? I'd rather not use the colorful avatars, or the goofy ones that it auto generates.

share|improve this question
    
Use a generic gravatar where? WordPress.com, for instance, offers a number of different options for undefined gravatars, including a basic silhouette. Implementing such a thing is dependent on the developer of the app. –  Al E. Jul 10 '12 at 13:45
add comment

1 Answer 1

Gravatar doc specify 'd' parameter for that:

Code exemple in PHP from Gravatar doc:

$grav_url = "http://www.gravatar.com/avatar/" . md5( strtolower( trim( $email ) ) ) . "?d=" . urlencode( $default ) . "&s=" . $size;
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.