Click or drag to resize
AdministrationUrlHelper.GetImagePath Method
Gets UI image path for given theme.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax
C#
public static string GetImagePath(
	string theme,
	string imagePath,
	bool ensureDefaultTheme = false
)

Parameters

theme
Type: System.String
Theme
imagePath
Type: System.String
Partial image path starting from ~/App_Themes/(Skin_Folder)/Images/ (e.g. '/CMSModules/Membership/module.png')
ensureDefaultTheme (Optional)
Type: System.Boolean
Indicates if default theme should be always used

Return Value

Type: String
See Also