TransformationHelperGetImageByUrl Method (Object, Object, Object, Object, Object) |
Returns a complete HTML code of the image that is specified by the given url.
Namespace: CMS.ControlsAssembly: CMS.Controls (in CMS.Controls.dll) Version: 8.2.23
Syntaxpublic string GetImageByUrl(
Object imageUrl,
Object maxSideSize = null,
Object width = null,
Object height = null,
Object alt = null
)
Parameters
- imageUrl
- Type: SystemObject
Image url - maxSideSize (Optional)
- Type: SystemObject
Image max. side size - width (Optional)
- Type: SystemObject
Image width - height (Optional)
- Type: SystemObject
Image height - alt (Optional)
- Type: SystemObject
Image alternation text
Return Value
Type:
String
See Also