Creating an image rendition

Image renditions are a new feature of SharePoint 2013 that let you insert multiple sizes of the same image using the same source image. Image renditions specify the height and width to use when adding an image to a page.

Using image renditions requires BLOB cache to be enabled for the SharePoint web application. See http://technet.microsoft.com/en-us/library/cc770229.aspx for more information.

How to do it...

Follow these steps to create an image rendition:

  1. Navigate to the site in your preferred web browser.
  2. Select Site settings from the Settings menu.
  3. Select Image Renditions from the Look and Feel section as shown in the following screenshot:
    How to do it...
  4. On the Image Renditions page, select Add New Item.
  5. Provide a name for the image rendition in the Name field.
  6. Provide the height and width for the image rendition in the Height and Width fields as shown in the following screenshot:
    How to do it...
  7. Click on Save.

How it works...

Image rendition configurations are stored as SharePoint list items. When an image rendition is applied to an image, SharePoint creates cached versions of the image in the formats dictated by the image renditions.

See also

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.133.156.251