Method GetImageUrl
GetImageUrl(string)
Returns the URL of the image resource associated with the specified name.
public static string GetImageUrl(string name)
Parameters
namestringThe name of the image resource for which to retrieve the URL. Cannot be null.
Returns
- string
A string containing the URL of the image resource. If no override is set, the URL is generated using a default template.
Remarks
If an image URL override is configured, this method uses the override to generate the URL; otherwise, it constructs the URL using a predefined template. This method does not validate whether the resulting URL points to an existing resource.