|
|
Adding An Icon for PDF Files In A Document Library
|
 |
|
In documents libraries you will notice that most common file types have an
image available for them, all except the PDFs that is. To change this you will
need a gif image that is 16 X 16 pixels to represent the PDF. If you would like
to use the standard PDF icon you can download it from here: PDF Icon.
This image will need to be saved to the 60 hive under the template\Images
directory. The 60 hive is usually located at: Drive:\Program
Files\Common Files\Microsoft Shared\Web Server Extensions\60. This can vary on
your installation though.
|
 |
|
 |
The next item that needs to be changed is the Docicon.xml file located under
the 60 in the template\xml directory. Open this file in your editing program of
choice. You will need to add the following line to the file:
<MAPPING Key="pdf" Value="Image File Name" />
|
 |
|
"Image File Name" will be the name of the icon
image file that you saved to the template\Images directory. I also like to add
this line in the order of the file so that it is easy to located at a later date
if you want to go back and edit it for any reason.
|
 |
|
After this you can do an IIS reset if you like but 99.9% of
the time this fix will show up when a new instance of the WSS site or Portal
site is run without the IIS reset.
|
 |
|
RELATED ARTICLES:
|
 |
|
MS
KB Article 832809
|
 |
|
Making
the change to old document libraries
|