## mardi 12 août 2008

### Add a new icon for a document type in document library

When you add a document in a document library, SharePoint display an icon in the Type column based on the file type.

However, some extensions are not managed out-of-the-box by SharePoint. It's case for PDF file for example.

Start by adding a new icon in this folder : C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\IMAGES.

In my case, i called it ICPDF.gif. The recommended size is 16px by 16px.

Now you have to link your icon with the PDF extension. You can do that i
n the C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\XML\DOCICON.XML file.