Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: SharePoint Foundation 2010
In this article
Return Value
Remarks
Applies To
Gets the URL of the specified image.
var value = SP.Utilities.Utility.getImageUrl(imageName);
Parameters
imageName
Type: string
The file name of the image, including the file extension.
Return Value
Type: string
The URL of the image.
Remarks
The URL is in the _layouts/images folder relative to the root of the website.