TransformationMethodsGetUserAvatarImage Method |
Returns user avatar image.
Namespace: CMS.ControlsAssembly: CMS.Controls (in CMS.Controls.dll) Version: 8.2.23
Syntax public static Object GetUserAvatarImage(
EvaluationContext context,
params Object[] parameters
)
Parameters
- context
- Type: CMS.MacroEngineEvaluationContext
Evaluation context with child resolver - parameters
- Type: SystemObject
(Avatar ID; User ID, load gender avatar for specified user if avatar by avatar id doesn't exist) OR
(Avatar ID; User ID, load gender avatar for specified user if avatar by avatar id doesn't exist; Image alternation text)
(Avatar ID; User ID, load gender avatar for specified user if avatar by avatar id doesn't exist; Image alternation text; Image max. side size)
(Avatar ID; 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)
(Avatar ID; 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)
(Avatar ID; 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; User e-mail)
Return Value
Type:
ObjectSee Also