Filters non-image files for image viewer