Click or drag to resize
TransformationHelperGetUserAvatarImageByGUID Method
Returns user avatar image.

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 9.0.0
Syntax
C#
public string GetUserAvatarImageByGUID(
	Object avatarGuid,
	Object userGender,
	int maxSideSize,
	int width,
	int height,
	Object alt
)

Parameters

avatarGuid
Type: SystemObject
Avatar GUID
userGender
Type: SystemObject
Avatar gender
maxSideSize
Type: SystemInt32
Max side size
width
Type: SystemInt32
Image width
height
Type: SystemInt32
Image height
alt
Type: SystemObject
Image alternate text

Return Value

Type: String
See Also