Tuesday, 23 April 2013

How to Update the web.config file to get the Image Rendition to work on SharePoint 2013

1.     Open the 2012 Server(s)
2.     Open C:\inetpub\wwwroot\wss\VirtualDirectories\[site]
3.     Make a backup copy of the web.config
4.     Open Search
5.     Hover over the bottom right of the screen.
6.     Click Search
7.     In the search box, search for Notepad
8.     On the left, right click on Notepad
9.     At the bottom of the screen, click on Run as administrator
10.     Click Yes
11.     Click File
12. Select Open 
13. Goto C:\inetpub\wwwroot\wss\VirtualDirectories\[site]
14. Select web.config
15. Click Open
16. Change the BlobCache settings
<BlobCache location="C:\BlobCache\14" path="\.(gif|jpg|jpeg|jpe|jfif|bmp|dib|tif|tiff|themedbmp|themedcss|themedgif|themedjpg|themedpng|ico|png|wdp|hdp|css|js|asf|avi|flv|m4v|mov|mp3|mp4|mpeg|mpg|rm|rmvb|wma|wmv|ogg|ogv|oga|webm|xap)$" maxSize="10" enabled="true" />
17.     Click File
18.     Select Save
19.     Close Notepad
Done :)

No comments:

Post a Comment