Sculptors added niches along the cliff from the late Tang to the Song dynasty. Neighbouring images of Buddhas and bodhisattvas show how their carving styles changed over the centuries.