SP.WebTemplate.imageUrl property (sp.js)
Gets a value that specifies the URI for the image that is associated with the site definition configuration or site template.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.WebTemplate.get_imageUrl ()
Return value
Type: String
REST resource endpoint
Endpoint URI structure
http://<sitecollection>/<site>/_api/web/GetAvailableWebTemplates(languageid,includecrosslanguageincludecrosslanguage})/getbyname(templatename/imageUrl
HTTP requests
This resource supports the following HTTP commands:
- POST
POST syntax
POST http://<sitecollection>/<site>/_api/web/GetAvailableWebTemplates(languageid,includecrosslanguageincludecrosslanguage})/getbyname(templatename/imageUrl
GET syntax
GET http://<sitecollection>/<site>/_api/web/GetAvailableWebTemplates(languageid,includecrosslanguageincludecrosslanguage})/getbyname(templatename/imageUrl