Click or drag to resize
CMSPagePlaceholderGetImageUrl Method
Gets UI image relative path.

Namespace: CMS.PortalEngine.Web.UI
Assembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 13.0.131
Syntax
C#
public string GetImageUrl(
	string imagePath,
	bool ensureDefaultTheme = false
)

Parameters

imagePath
Type: SystemString
Partial image path starting from ~/App_Themes/(Skin_Folder)/Images/ (e.g. '/CMSModules/Membership/module.png')
ensureDefaultTheme (Optional)
Type: SystemBoolean
Indicates if default theme should be ensured

Return Value

Type: String
See Also