Click or drag to resize
TransformationMethodsGetImage Method
Returns a complete HTML code of the image that is specified by node alias and attachment GUID.

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

Parameters

context
Type: CMS.MacroEngineEvaluationContext
Evaluation context with child resolver
parameters
Type: SystemObject
(Node alias; Attachment GUID) OR (Node alias; Attachment GUID; Image alternation text) (Node alias; Attachment GUID; Image alternation text; Image max. side size) (Node alias; Attachment GUID; Image alternation text; Image max. side size; Image width) (Node alias; Attachment GUID; Image alternation text; Image max. side size; Image width; Image height)

Return Value

Type: Object
See Also