{"id":601,"date":"2013-04-07T17:29:04","date_gmt":"2013-04-07T17:29:04","guid":{"rendered":"http:\/\/www.myfatblog.co.uk\/?p=601"},"modified":"2013-04-07T17:34:02","modified_gmt":"2013-04-07T17:34:02","slug":"wcm-image-renditions-in-sharepoint-2013","status":"publish","type":"post","link":"http:\/\/www.myfatblog.co.uk\/index.php\/2013\/04\/wcm-image-renditions-in-sharepoint-2013\/","title":{"rendered":"WCM &#8211; Image Renditions in SharePoint 2013"},"content":{"rendered":"<h1>Introducing Image Renditions In SharePoint 2013.<\/h1>\n<p>One of the great improvements in SharePoint 2013 is the introduction of Image Renditions. This feature allows content editors to upload images that are then automatically re-sized according to pre-defined rules for use within the website.<\/p>\n<p>These re-sized images can then be used in document roll-ups and pages, reducing the page weight by downloading appropriately sized images for the content being displayed.<\/p>\n<p>As you would expect, there are some pre-requisites to using Image Renditions on your SharePoint site. Firstly, you must have publishing enabled, which frankly, if you&#8217;re looking to use Image Renditions, then I would imagine you&#8217;re looking at using them in a publishing Intranet scenario (That doesn&#8217;t mean they can&#8217;t be used in a Team or Community site though!)<\/p>\n<p>Secondly, you must have enabled the blob cache on your servers. Again, if you&#8217;re using SharePoint in a publishing intranet scenario, I would hope that you have already planned for caching implementation in your farm. If you haven&#8217;t, then you really should! Turning on Blob cache does have an impact on the farm, bu reducing SQL I\/O, but increasing disk I\/O on the web servers. (This TechNet article is currently the only one published (That I could find) that covers blob caching in SharePoint, even the Technet Image Renditions page links to this one! <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/cc770229.aspx\">http:\/\/technet.microsoft.com\/en-us\/library\/cc770229.aspx<\/a>)<\/p>\n<p>With that done, we can head to our Site Collection settings page and click on Image Renditions under look and feel. This takes us to the Image Renditions management page. (Note: If you have a big orange error at the top of the page, it&#8217;s possible that Blob cache hasn&#8217;t been enabled for that web application, so double check the web.config.)<\/p>\n<p>You&#8217;ll see that you most likely already have some renditions configured, especially if you&#8217;ve been using the Content By Search display templates.<\/p>\n<p><a href=\"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/Image-Renditions-in-SharePoint-2013_1031E\/clip_image001.png\"><img loading=\"lazy\" decoding=\"async\" style=\"margin: 5px; display: inline; background-image: none;\" title=\"clip_image001\" border=\"0\" alt=\"clip_image001\" src=\"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/Image-Renditions-in-SharePoint-2013_1031E\/clip_image001_thumb.png\" width=\"554\" height=\"176\" \/><\/a><\/p>\n<p>Click on the &quot;Add New Item&quot; link allows us to create a new size rendition.<\/p>\n<p><a href=\"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/Image-Renditions-in-SharePoint-2013_1031E\/clip_image002.png\"><img loading=\"lazy\" decoding=\"async\" style=\"margin: 5px; display: inline; background-image: none;\" title=\"clip_image002\" border=\"0\" alt=\"clip_image002\" src=\"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/Image-Renditions-in-SharePoint-2013_1031E\/clip_image002_thumb.png\" width=\"364\" height=\"175\" \/><\/a><\/p>\n<p>Once the rendition has been defined, we can go to the Site Collection Images library and see what changes are now available in the interface.<\/p>\n<p>When you click on the ellipsis icon in the picture menu, you&#8217;ll now see an Edit Renditions options. Select that to go to the Manage renditions page for the selected image.<\/p>\n<p><a href=\"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/Image-Renditions-in-SharePoint-2013_1031E\/clip_image003.png\"><img loading=\"lazy\" decoding=\"async\" style=\"margin: 5px; display: inline; background-image: none;\" title=\"clip_image003\" border=\"0\" alt=\"clip_image003\" src=\"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/Image-Renditions-in-SharePoint-2013_1031E\/clip_image003_thumb.png\" width=\"424\" height=\"335\" \/><\/a><\/p>\n<p>The first time you select Edit renditions for an image, it may take a short time to appear, however when it does, you&#8217;ll be presented with a preview of each rendition.<\/p>\n<p><a href=\"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/Image-Renditions-in-SharePoint-2013_1031E\/SNAGHTML6906f4.png\"><img loading=\"lazy\" decoding=\"async\" style=\"margin: 5px; display: inline; background-image: none;\" title=\"SNAGHTML6906f4\" border=\"0\" alt=\"SNAGHTML6906f4\" src=\"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/Image-Renditions-in-SharePoint-2013_1031E\/SNAGHTML6906f4_thumb.png\" width=\"530\" height=\"350\" \/><\/a><\/p>\n<p>Clicking on click to change, gives you (or more importantly the content editors) the opportunity to pick which part of the picture is displayed when it needs to be cropped or re-sized.<\/p>\n<p><a href=\"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/Image-Renditions-in-SharePoint-2013_1031E\/SNAGHTML6976f5.png\"><img loading=\"lazy\" decoding=\"async\" style=\"margin: 5px; display: inline; background-image: none;\" title=\"SNAGHTML6976f5\" border=\"0\" alt=\"SNAGHTML6976f5\" src=\"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/Image-Renditions-in-SharePoint-2013_1031E\/SNAGHTML6976f5_thumb.png\" width=\"490\" height=\"399\" \/><\/a><\/p>\n<p>Now you have the renditions, How do you use them? Well the first and foremost easy way is to pick them from a drop down while you&#8217;re editing your pages.<\/p>\n<p><a href=\"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/Image-Renditions-in-SharePoint-2013_1031E\/clip_image006.png\"><img loading=\"lazy\" decoding=\"async\" style=\"margin: 5px; display: inline; background-image: none;\" title=\"clip_image006\" border=\"0\" alt=\"clip_image006\" src=\"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/Image-Renditions-in-SharePoint-2013_1031E\/clip_image006_thumb.png\" width=\"489\" height=\"392\" \/><\/a><\/p>\n<p>This will add your image to the page as a standard HTML img tag, with the renditionID tacked onto the end of the URL.<\/p>\n<p>The second way is to just specify the width and height of the image. SharePoint will automatically pick the rendition image for you based on the width and height. If you specify just one of those values, SharePoint will apply the first matching rendition that it finds. The added advantage with this method means that it works perfectly in Content by Search or Content By Query webparts.<\/p>\n<p>For further information, take a look at the MSDN documentation here:- <a href=\"http:\/\/msdn.microsoft.com\/en-gb\/library\/jj720399.aspx\">http:\/\/msdn.microsoft.com\/en-gb\/library\/jj720399.aspx<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introducing Image Renditions In SharePoint 2013. One of the great improvements in SharePoint 2013 is the introduction of Image Renditions. This feature allows content editors to upload images that are then automatically re-sized according to pre-defined rules for use within the website. These re-sized images can then be used in document roll-ups and pages, reducing &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"http:\/\/www.myfatblog.co.uk\/index.php\/2013\/04\/wcm-image-renditions-in-sharepoint-2013\/\">Continue reading<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[106,25,96,70,59],"tags":[107,178],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>WCM - Image Renditions in SharePoint 2013 - Blog of an overweight SharePoint addict<\/title>\n<meta name=\"description\" content=\"A short description of enabling and using Image renditions in SharePoint 2013 publishing sites.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/www.myfatblog.co.uk\/index.php\/2013\/04\/wcm-image-renditions-in-sharepoint-2013\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"WCM - Image Renditions in SharePoint 2013 - Blog of an overweight SharePoint addict\" \/>\n<meta property=\"og:description\" content=\"A short description of enabling and using Image renditions in SharePoint 2013 publishing sites.\" \/>\n<meta property=\"og:url\" content=\"http:\/\/www.myfatblog.co.uk\/index.php\/2013\/04\/wcm-image-renditions-in-sharepoint-2013\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog of an overweight SharePoint addict\" \/>\n<meta property=\"article:published_time\" content=\"2013-04-07T17:29:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2013-04-07T17:34:02+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/Image-Renditions-in-SharePoint-2013_1031E\/clip_image001_thumb.png\" \/>\n<meta name=\"author\" content=\"Cimares\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@cimares\" \/>\n<meta name=\"twitter:site\" content=\"@cimares\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Cimares\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"http:\/\/www.myfatblog.co.uk\/index.php\/2013\/04\/wcm-image-renditions-in-sharepoint-2013\/\",\"url\":\"http:\/\/www.myfatblog.co.uk\/index.php\/2013\/04\/wcm-image-renditions-in-sharepoint-2013\/\",\"name\":\"WCM - Image Renditions in SharePoint 2013 - Blog of an overweight SharePoint addict\",\"isPartOf\":{\"@id\":\"http:\/\/www.myfatblog.co.uk\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\/\/www.myfatblog.co.uk\/index.php\/2013\/04\/wcm-image-renditions-in-sharepoint-2013\/#primaryimage\"},\"image\":{\"@id\":\"http:\/\/www.myfatblog.co.uk\/index.php\/2013\/04\/wcm-image-renditions-in-sharepoint-2013\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/Image-Renditions-in-SharePoint-2013_1031E\/clip_image001_thumb.png\",\"datePublished\":\"2013-04-07T17:29:04+00:00\",\"dateModified\":\"2013-04-07T17:34:02+00:00\",\"author\":{\"@id\":\"http:\/\/www.myfatblog.co.uk\/#\/schema\/person\/55ae8f6885bb5b8390dad001f3da83c6\"},\"description\":\"A short description of enabling and using Image renditions in SharePoint 2013 publishing sites.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/www.myfatblog.co.uk\/index.php\/2013\/04\/wcm-image-renditions-in-sharepoint-2013\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/www.myfatblog.co.uk\/index.php\/2013\/04\/wcm-image-renditions-in-sharepoint-2013\/#primaryimage\",\"url\":\"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/Image-Renditions-in-SharePoint-2013_1031E\/clip_image001_thumb.png\",\"contentUrl\":\"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/Image-Renditions-in-SharePoint-2013_1031E\/clip_image001_thumb.png\"},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/www.myfatblog.co.uk\/#website\",\"url\":\"http:\/\/www.myfatblog.co.uk\/\",\"name\":\"Blog of an overweight SharePoint addict\",\"description\":\"The rantings of a (not so) food obsessed IT consultant!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/www.myfatblog.co.uk\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"http:\/\/www.myfatblog.co.uk\/#\/schema\/person\/55ae8f6885bb5b8390dad001f3da83c6\",\"name\":\"Cimares\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/www.myfatblog.co.uk\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/About_D057\/TopOfTheWorld.jpg\",\"contentUrl\":\"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/About_D057\/TopOfTheWorld.jpg\",\"caption\":\"Cimares\"},\"sameAs\":[\"http:\/\/www.myfatblog.co.uk\"],\"url\":\"http:\/\/www.myfatblog.co.uk\/index.php\/author\/reginald\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"WCM - Image Renditions in SharePoint 2013 - Blog of an overweight SharePoint addict","description":"A short description of enabling and using Image renditions in SharePoint 2013 publishing sites.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/www.myfatblog.co.uk\/index.php\/2013\/04\/wcm-image-renditions-in-sharepoint-2013\/","og_locale":"en_US","og_type":"article","og_title":"WCM - Image Renditions in SharePoint 2013 - Blog of an overweight SharePoint addict","og_description":"A short description of enabling and using Image renditions in SharePoint 2013 publishing sites.","og_url":"http:\/\/www.myfatblog.co.uk\/index.php\/2013\/04\/wcm-image-renditions-in-sharepoint-2013\/","og_site_name":"Blog of an overweight SharePoint addict","article_published_time":"2013-04-07T17:29:04+00:00","article_modified_time":"2013-04-07T17:34:02+00:00","og_image":[{"url":"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/Image-Renditions-in-SharePoint-2013_1031E\/clip_image001_thumb.png"}],"author":"Cimares","twitter_card":"summary_large_image","twitter_creator":"@cimares","twitter_site":"@cimares","twitter_misc":{"Written by":"Cimares","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"http:\/\/www.myfatblog.co.uk\/index.php\/2013\/04\/wcm-image-renditions-in-sharepoint-2013\/","url":"http:\/\/www.myfatblog.co.uk\/index.php\/2013\/04\/wcm-image-renditions-in-sharepoint-2013\/","name":"WCM - Image Renditions in SharePoint 2013 - Blog of an overweight SharePoint addict","isPartOf":{"@id":"http:\/\/www.myfatblog.co.uk\/#website"},"primaryImageOfPage":{"@id":"http:\/\/www.myfatblog.co.uk\/index.php\/2013\/04\/wcm-image-renditions-in-sharepoint-2013\/#primaryimage"},"image":{"@id":"http:\/\/www.myfatblog.co.uk\/index.php\/2013\/04\/wcm-image-renditions-in-sharepoint-2013\/#primaryimage"},"thumbnailUrl":"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/Image-Renditions-in-SharePoint-2013_1031E\/clip_image001_thumb.png","datePublished":"2013-04-07T17:29:04+00:00","dateModified":"2013-04-07T17:34:02+00:00","author":{"@id":"http:\/\/www.myfatblog.co.uk\/#\/schema\/person\/55ae8f6885bb5b8390dad001f3da83c6"},"description":"A short description of enabling and using Image renditions in SharePoint 2013 publishing sites.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.myfatblog.co.uk\/index.php\/2013\/04\/wcm-image-renditions-in-sharepoint-2013\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/www.myfatblog.co.uk\/index.php\/2013\/04\/wcm-image-renditions-in-sharepoint-2013\/#primaryimage","url":"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/Image-Renditions-in-SharePoint-2013_1031E\/clip_image001_thumb.png","contentUrl":"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/Image-Renditions-in-SharePoint-2013_1031E\/clip_image001_thumb.png"},{"@type":"WebSite","@id":"http:\/\/www.myfatblog.co.uk\/#website","url":"http:\/\/www.myfatblog.co.uk\/","name":"Blog of an overweight SharePoint addict","description":"The rantings of a (not so) food obsessed IT consultant!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/www.myfatblog.co.uk\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"http:\/\/www.myfatblog.co.uk\/#\/schema\/person\/55ae8f6885bb5b8390dad001f3da83c6","name":"Cimares","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/www.myfatblog.co.uk\/#\/schema\/person\/image\/","url":"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/About_D057\/TopOfTheWorld.jpg","contentUrl":"http:\/\/www.myfatblog.co.uk\/images\/BlogImages\/About_D057\/TopOfTheWorld.jpg","caption":"Cimares"},"sameAs":["http:\/\/www.myfatblog.co.uk"],"url":"http:\/\/www.myfatblog.co.uk\/index.php\/author\/reginald\/"}]}},"_links":{"self":[{"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/601"}],"collection":[{"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=601"}],"version-history":[{"count":5,"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/601\/revisions"}],"predecessor-version":[{"id":607,"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/601\/revisions\/607"}],"wp:attachment":[{"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=601"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/categories?post=601"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.myfatblog.co.uk\/index.php\/wp-json\/wp\/v2\/tags?post=601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}