IEView template: Fix for showing thumbnail really only for images