I’m new to Sharepoint 2010; when adding a web part for users to download files, the ‘Type’ images are always broken, and the URLs have no image file. For example:

Then when looking at the path of the broken image, it comes up as:
https://portal.mysite.com/_layouts/images/
Is there some sort of association I have to make?
After doing some digging, I noticed in my DOCICON file had some invalid XML in it; specifically some of the pdf mapping.
After removing the invalid characters, and restarting IIS, the document icons have now appeared.