I was playing around with a document library. I uploaded a PDF file to the document library and I noticed that it displayed a white icon next to the PDF item instead of PDF icon which we see in our system. After digging more into this, here is how I got it resolved:
Let's do step by step:
- Download the PDF icon from Adobe website (I chose 17x17 icon)
- Save the above GIF image into "12\TEMPLATE\IMAGES" folder
- Go to "12\TEMPLATE\XML" folder and open DOCICON.XML
- Under ByExtension tag, add a Mapping element for PDF GIF image.
- Save DOCICON.XML file
- Do IISRESET
- Refresh your page.
Key = "pdf" Value = "pdficon_small.gif"
Bingo! For all PDF files, it displays the correct PDF icon!
Hi there,
ReplyDeleteI am facing a problem in SharePoint, and I posted it on SharePoint Products and Technologies Forums.
Could you please please please have a look at it, and kindly do contribute with any thought(s), idea(s) or approach(es) that might help me to find a solution.
The URL of the entry where I posted my problem is:
http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/8f7b9b1a-8c13-455e-8cb1-f7b7003049b0
I would greatly and sincerely appreciate your input, I really need your help!
Thank you for your consideration of my request.
Best regards,
Alejandro