Lanthanide cations tune the infrared absorption characteristics of the capping ligands in Zn(Ln)S [Ln = Sm, Eu, Tb, Dy] nanoparticles.