XF 1.5 Using recognizable icons for attachment types


Well-known member
Currently attachment files in a message show a dull general page icon, is it possible to add for example icons that show if the document is a Word, Excel, pdf or other type of file? We used to have this and it was nice for usability. Search didn't give me a result.

On another note, I lost attachment views for a certain attachment (went back to 0 by mistake) and tried to set the correct number in the database, but it did not affect it in the post, not even after running update counters. Any way to do this?