AbstractUserControl GetImageUrl Method Kentico 8.0 API Reference
Gets UI image relative path.

Namespace: CMS.ExtendedControls
Assembly: CMS.ExtendedControls (in CMS.ExtendedControls.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