SP.Publishing.SiteImageRenditions object (sp.publishing)

Exposes the operations to read and write image renditions from a site collection.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var object = new SP.Publishing.SiteImageRenditions()

Members

The SiteImageRenditions object has the following members.

Methods

The SiteImageRenditions object has the following methods.

Method

Description

getRenditions

Returns the SP.Publishing.ImageRendition object (sp.publishing) for the context site collection.

setRenditions

Sets the SP.Publishing.ImageRendition object (sp.publishing) objects for the context site collection.

Constructor

The SiteImageRenditions object has the following constructor.

Constructor

Description

SiteImageRenditions

Initializes a new instance of the SP.Publishing.SiteImageRenditions object.