Click or drag to resize
TransformationHelper.GetImageByUrl Method (Object, Object, Object, Object, Object)
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: 8.2.23
Syntax
C#
public string GetImageByUrl(
	Object imageUrl,
	Object maxSideSize = null,
	Object width = null,
	Object height = null,
	Object alt = null
)

Parameters

imageUrl
Type: System.Object
Image url
maxSideSize (Optional)
Type: System.Object
Image max. side size
width (Optional)
Type: System.Object
Image width
height (Optional)
Type: System.Object
Image height
alt (Optional)
Type: System.Object
Image alternation text

Return Value

Type: String
See Also