TransformationHelperGetUIImageUrl Method (String, Boolean, Page) |
Gets UI image resolved path.
Namespace: CMS.DocumentEngine.Web.UIAssembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 10.0.0
Syntax public virtual string GetUIImageUrl(
string imagePath,
bool isLiveSite,
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 - page
- Type: System.Web.UIPage
Page object
Return Value
Type:
StringSee Also