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

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

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

Return Value

Type: String
See Also