Theranostic PSMA ligands with optimized backbones for intraoperative multimodal imaging and photodynamic therapy of prostate cancer. Here, FOLH1 is linked to prostate carcinoma.