TransformationMethods GetGroupAvatarImageByGUID Method Kentico 8.1 API Reference
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: 8.0.0.0 (8.1.5347.20411)

Parameters

context
Type: CMS.MacroEngine EvaluationContext
Evaluation context with child resolver
parameters
Type:  OnlineSystem Object 
(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: OnlineObject
See Also