-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
2.3
-
MOODLE_23_STABLE
-
WIP-
MDL-35707-master_gravatar
Current Moodle code, used to invoke Gravatar API
return new moodle_url("http://www.gravatar.com/avatar/{$md5}", array('s' => $size, 'd' => $defaulturl->out(false)));
|
Gravatar's suggestion for the 'd=' parameter:
(https://en.gravatar.com/site/implement/images/)
- 404: do not load any image if none is associated with the email hash, instead return an HTTP 404 (File Not Found) response
- mm: (mystery-man) a simple, cartoon-style silhouetted outline of a person (does not vary by email hash)
- identicon: a geometric pattern based on an email hash
- monsterid: a generated 'monster' with different colors, faces, etc
- wavatar: generated faces with differing features and backgrounds
- retro: awesome generated, 8-bit arcade-style pixelated faces
suggested fix:
return new moodle_url("http://www.gravatar.com/avatar/{$md5}", array('s' => $size,'d' => 'identicon'));
|
- duplicates
-
MDL-35669 Gravatar integration appears to have stopped working
-
- Closed
-