SP.Publishing.SiteImageRenditions.setRenditions Method (sp.publishing)

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

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

SP.Publishing.SiteImageRenditions.setRenditions(context)

Parameters

  • context

  • renditions
    An array of ImageRendition objects to be set as the image renditions for the site collection.

Remarks

The renditions parameter must not be null.