match case insensitive file extensions for photos