TransformationMethods GetImage Method Kentico 8.1 API Reference
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: 8.0.0.0 (8.1.5347.20411)

Parameters

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