Sunday, December 9, 2012

SharePoint 2013/2010 - Add PDF icon to the images library

Step 1: Open Image Folder at the SharePoint Server

c:\Program Files\Common Files\Microsoft Shared\web server extensions\<port>\TEMPLATE\IMAGES
<port>: e.g. 12

Step 2: Copy the following image to the folder:

(.gif for SharePoint 2010) (.png for SharePoint 2013)


Step 3: After you copy the picture file you need navigate to
“C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\XML”

Step 4: And edit the DocIcon.xml with notepad and add the line
<Mapping Key=”pdf” Value=”icpdf.gif”/>

Once this is edited and saved (I would also recommend doing a backup of the file before you save it) you will need to do an IISreset before the icon will display.

No comments:

Post a Comment