TransformationMethodsGetImage Method |
Returns a complete HTML code of the image that is specified by node alias and attachment GUID.
Namespace: CMS.ControlsAssembly: CMS.Controls (in CMS.Controls.dll) Version: 8.2.23
Syntax 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:
ObjectSee Also