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

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

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