Click or drag to resize
TransformationHelperGetUIImageUrl Method (String, Boolean, Boolean, Page)
Gets UI image path.

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 8.2.23
Syntax
C#
public virtual string GetUIImageUrl(
	string imagePath,
	bool isLiveSite,
	bool ensureDefaultTheme,
	Page page
)

Parameters

imagePath
Type: SystemString
Partial image path starting from ~/App_Themes/(Skin_Folder)/Images/ (e.g. '/CMSModules/CMS_MediaLibrary/module.png')
isLiveSite
Type: SystemBoolean
Indicates if URL should be returned for live site
ensureDefaultTheme
Type: SystemBoolean
Indicates if default theme should be always used
page
Type: System.Web.UIPage
Page object

Return Value

Type: String
See Also