AbstractCMSPage GetImageUrl Method Kentico 8.0 API Reference
Gets UI image URL.

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

imagePath
Type: OnlineSystem String
Partial image path starting from ~/App_Themes/(Skin_Folder)/Images/ (e.g. '/CMSModules/Membership/module.png')
isLiveSite (Optional)
Type: OnlineSystem Boolean
Indicates if URL should be returned for live site
ensureDefaultTheme (Optional)
Type: OnlineSystem Boolean
Indicates if default theme should be ensured

Return Value

Type: OnlineString
See Also