I have a download section, and i would like to have icons for the different files according to their file type. So i have a pdf icon on the link for a downloadable .pdf, a word icon for an .doc and so on.
How do i get the file type/suffix for a media file?
This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/59180-getting-file-type-of-media