CMSAbstractTransformationGetUIImageUrl Method (String, Boolean, Boolean) |
Gets UI image path.
Namespace: CMS.ControlsAssembly: CMS.Controls (in CMS.Controls.dll) Version: 9.0.0
Syntax 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:
StringSee Also