Export (0) Print
Expand All

SP.Utilities.Utility.getImageUrl(imageName) Method

SharePoint 2010

Last modified: May 24, 2011

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);

imageName

Type: string

The file name of the image, including the file extension.

Type: string

The URL of the image.

The URL is in the _layouts/images folder relative to the root of the website.

Show:
© 2014 Microsoft