Click or drag to resize
TransformationMethodsGetImageByUrl Method
Returns a complete HTML code of the image that is specified by the given url.

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

Parameters

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

Return Value

Type: Object
See Also