Returns avatar image tag, if avatar is not defined returns gender depend avatar or user default avatar if is defined.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.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 for specified user if avatar by avatar id doesn't exist
- maxSideSize
- Type:
System Int32
Max side size
- width
- Type:
System Int32
Image width
- height
- Type:
System Int32
Image height
- alt
- Type:
System Object
Image alternate text
Return Value
Type:![Online Online](./../icons/online_icon.gif)
See Also