Question about the service Gravatar

At the request of the browser service returns either tied to the mail profile picture, or default picture.

Is it possible with PHP to find out if is tied to the avatar or not? If there is — shown — if not, nothing is displayed (instead of default).
October 8th 19 at 01:55
2 answers
October 8th 19 at 01:57
Avatar request with a parameter ?d=404. Then gravatar will return a 404 if there is no avatar.
Thank you very much. With the help of you and the function get_headers() got what you wanted! - Maritza.Donnelly commented on October 8th 19 at 02:00
October 8th 19 at 01:59
In the GET parameter d, or default, you can specify the url of an image to be displayed in the absence of the avatar, in your case it may be a 1 transparent pixel.

Here in detail:
A little something I was looking for, but thanks anyway - Maritza.Donnelly commented on October 8th 19 at 02:02

Find more questions by tags HTMLPHP