All predicatesShow sourceavatar.pl -- Avatar management

This module provides access to avatar handling.

 email_avatar(+Email, -AvatarImageLink) is det[private]
See also
- https://en.gravatar.com/site/implement/hash/
- https://en.gravatar.com/site/implement/images/
Source valid_gravatar(+URL) is semidet
True if URL is a real gravatar. We cache results for 300 seconds.
Source random_avatar(-AvatarURL) is det
Generate a random avatar image url. This uses an arbitrary image from the virtual path icons(avatar). This predicate never replies with the same URL.
Arguments:
AvatarURL- is a relative URL (does not include the host)
Errors
- resource_error(avatars) if no more avatars are available
Source release_avatar(+URL) is det
Release the avatar to the pool of free avatars.

Undocumented predicates

The following predicates are exported, but not or incorrectly documented.

Source email_gravatar(Arg1, Arg2)
Source clean_avatar_cache