Skip to main content

Module avatar

Module avatar 

Source
Expand description

Avatar presentation helpers.

This module keeps the product-neutral parts of Gravatar presentation: the normalized email hash and the conventional URL shape used by Aster services. Product crates still own avatar source policy, upload handling, route paths, cache headers, and which sizes they expose.

Functions§

gravatar_hash
Returns the lowercase MD5 hash used by Gravatar for email.
gravatar_url
Builds a Gravatar URL with Aster’s default public query parameters.