The UserAvatar type exposes the following members.

Properties

  Name Description
Public property AvatarSize
Avatar size - 1 to 80 for gravatars.
Public property EnableAvatarCropping
Gets or sets a value indicating if the avatar cropping will be used.
Public property EnablePhotoSizeValidation
Gets or sets a value indicating if the photo size in pixels will be validated. Images below minimum required size are rejected.
Public property GravatarRenderType
Type of the avatar to be rendered - if not set, the web.config settings are used.
Public property ShowBrowsePhoto
Gets or sets a flag if show browse button si shown.
Public property ShowClearButton
Gets or sets a flag if avatar clear button is shown.
Public property UserReputationNewAvatarScore
Gets or sets how much score user gets for new avatar submission.

See Also