avatar.pl -- Avatar management
This module provides access to avatar handling.
- valid_gravatar(+URL) is semidet
- True if URL is a real gravatar. We cache results for 300
seconds.
- 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
- 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.
- clean_avatar_cache
- email_gravatar(Arg1, Arg2)