Click or drag to resize
TransformationMethods.GetUserAvatarImageForUser Method
Returns user avatar image.

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 10.0.0
Syntax
C#
public static Object GetUserAvatarImageForUser(
	EvaluationContext context,
	params Object[] parameters
)

Parameters

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