making images case insensitive