Publisher review:File icon giver/getter/whatever uses acts_as_attachment (that's the attachment.filename) but you can of course replace it with anything. This code uses acts_as_attachment (that's the attachment.filename) but you can of course replace it with anything.
It gets the file extension then looks up that extension in a dir full of files named extension.png. If none is found, unknown.png is used
File icon giver/getter/whatever is a Ruby script for Snippets scripts design by aptiva.
It runs on following operating system: Windows / Linux.
Operating system:Windows / Linux