Click or drag to resize
TransformationMethodsGetGroupAvatarImageByGUID Method
Returns group avatar image tag, if avatar is not defined returns default group if is defined.

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 9.0.0
Syntax
C#
public static Object GetGroupAvatarImageByGUID(
	EvaluationContext context,
	params Object[] parameters
)

Parameters

context
Type: CMS.MacroEngineEvaluationContext
Evaluation context with child resolver
parameters
Type: SystemObject
(Avatar GUIID, load gender avatar for specified user if avatar by Avatar GUIID doesn't exist) OR (Avatar GUIID, load gender avatar for specified user if avatar by Avatar GUIID doesn't exist; Image max. side size) OR (Avatar GUIID, load gender avatar for specified user if avatar by Avatar GUIID doesn't exist; Image max. side size; Image width) OR (Avatar GUIID, load gender avatar for specified user if avatar by Avatar GUIID doesn't exist; Image max. side size; Image width; Image height) OR

Return Value

Type: Object
See Also