make image_by_name case-insensitive