make image uploads case insensitive