UIHelper GetImagePath Method Kentico 8.1 API Reference
Gets UI image path.

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

Parameters

page
Type: OnlineSystem.Web.UI Page
Page
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 always used

Return Value

Type: OnlineString
See Also