Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SP.Utilities.Utility.getImageUrl(imageName) Method

SharePoint 2010

Gets the URL of the specified image.

var value = SP.Utilities.Utility.getImageUrl(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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.