Answer the question
In order to leave comments, you need to log in
Question about the Gravatar service
At the request of the browser, the service returns either an avatar attached to the mail or a default picture.
Is it possible using PHP to find out if there is an attached avatar or not? If there is, we show it, if not, we don’t show anything at all (and not the default one).
Answer the question
In order to leave comments, you need to log in
Request an avatar with the parameter ?d=404
. Then gravatar will return 404 if there is no avatar.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question