High sensitivity magnetic imaging using an array of spins in diamond