bugfix: image files with uppercase file extensions were erroneously not recognised