TemplateHelper::getTypeIcon

Checks if the file is an image