TransformationHelper GetUIImageUrl Method (String, Boolean, Boolean, Page)Kentico 8.0 API Reference
Gets UI image path.

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.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/CMS_MediaLibrary/module.png')
isLiveSite
Type: OnlineSystem Boolean
Indicates if URL should be returned for live site
ensureDefaultTheme
Type: OnlineSystem Boolean
Indicates if default theme should be always used
page
Type: OnlineSystem.Web.UI Page
Page object

Return Value

Type: OnlineString
See Also