TransformationMethods GetUserAvatarImageForUser Method Kentico 8.0 API Reference
Returns user avatar image.

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

context
Type: CMS.MacroEngine EvaluationContext
Evaluation context with child resolver
parameters
Type:  OnlineSystem Object 
(User ID, load gender avatar for specified user if avatar by avatar id doesn't exist) OR (User ID, load gender avatar for specified user if avatar by avatar id doesn't exist; Image alternation text) (User ID, load gender avatar for specified user if avatar by avatar id doesn't exist; Image alternation text; Image max. side size) (User ID, load gender avatar for specified user if avatar by avatar id doesn't exist; Image alternation text; Image max. side size; Image width) (User ID, load gender avatar for specified user if avatar by avatar id doesn't exist; Image alternation text; Image max. side size; Image width; Image height)

Return Value

Type: OnlineObject
See Also