You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when requesting for a Gravatar image, it always defaults to 404 response from the API. However, this doesn't look good when inspecting the Network dev tools and looking for failures. It would be excellent if there was an option to specify a value for the "default" (or "d") parameter for Gravatar as described here: http://en.gravatar.com/site/implement/images/ There are number of options allowed:
404: do not load any image if none is associated with the email hash, instead return an HTTP 404 (File Not Found) response
mp: (mystery-person) 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
Hello,
Currently, when requesting for a Gravatar image, it always defaults to 404 response from the API. However, this doesn't look good when inspecting the Network dev tools and looking for failures. It would be excellent if there was an option to specify a value for the "default" (or "d") parameter for Gravatar as described here: http://en.gravatar.com/site/implement/images/ There are number of options allowed:
The value is hardcoded to 404 here: https://github.com/HaithemMosbahi/ngx-avatar/blob/master/projects/ngx-avatar/src/lib/sources/gravatar.ts#L38
thanks!
The text was updated successfully, but these errors were encountered: