Axial observation of a beam-foil source