Icons are not displayed for Adobe PDF documents

Yes, to my surprise it does not show this out of box, why? I guess because this is an adobe product and not Microsoft. But yes we can easily show the icon for the PDF file.
So I decided to put this on my blog.
- When we upload a PDF document this is how it looks in the document Library (The same way it will appear in search results).
- Now to change this to a PDF icon. First download a PDF icon on size(16x16 Pixels, not mandatory but this will fit the size perfectly) You can choose your own icon or can take it from here:
- Copy the image file that you want to use for the icon to the following folder on the server, as appropriate for your version of SharePoint:
SharePoint Server 2007- Drive: \Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\Image
SharePoint Server 2010 - Drive: \Program Files\Common Files\Microsoft Shared\Web server extensions\14\Template\Images - Start Notepad, and then open the Docicon.xml file (Open the Notepad with Run as administrator permission). The Docicon.xml file is located in one of the following folders on the server:
SharePoint Server 2007- Drive: \Program Files\Common Files\Microsoft Shared\Web server extensions\12\Template\Xml
SharePoint Server 2010- Drive: \Program Files\Common Files\Microsoft Shared\Web server extensions\14\Template\Xml - Add an entry for the .pdf
extension.
As example above a new Mapping line has been added to the file. The value attribute above should be the PDF icon you copied in the images folder.
-
Now do an IISReset.And yes Hurray. The PDF icon is appearing………………………