add partition for img