September 18th, 2013
by Chris

Removing Drupal 7's File Type Icons

Posted in drupal, file, icons, remove

Drupal 7 has an interesting feature with the core File module, it will automatically look at the mime type of the file and display an appropriate file icon next to a link to the file. This is pretty nice, as you get a free visual indication of what type of file is being linked to. They even provide methods for passing along custom icon sets, so the icons are garaunteed to match the look and feel of your site.