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

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

Return Value

Type: OnlineString
See Also