Returns avatar or gravatar image url, if it is not defined returns gender dependent avatar or user default avatar.
Namespace: CMS.ControlsAssembly: CMS.Controls (in CMS.Controls.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- avatarID
- Type:
System Object
Avatar ID
- userID
- Type:
System Object
User ID, load gender avatar or user avatar for specified user if avatar given by avatar id doesn't exist
- userEmail
- Type:
System Object
User e-mail
- maxSideSize
- Type:
System Int32
Max side size
- width
- Type:
System Int32
Image width
- height
- Type:
System Int32
Image height
Return Value
Type:
See Also