The integration of photothermal and near-infrared (NIR) imaging capabilities of indocyanine green (ICG) small molecules has attracted considerable attention in tumor diagnosis and treatment. However, the abnormal upregulation of cellular heat shock proteins (HSPs) induced by photothermal therapy (PTT) enhances cellular heat resistance, thereby severely affecting the efficacy of PTT. In this study, to address the impact of HSPs on the efficacy of PTT while obtaining high-quality NIR fluorescence imaging in the NIR region, we designed a targeted peptide@ICG nanofluorescent probe encapsulated in liposomes. The introduced cRGD targeting peptide not only possesses tumor-targeting capabilities but also features LA as the last amino acid in the targeting peptide, which can generate nitric oxide (NO) under reactive oxygen species (ROS) triggering. It can happen under 808 nm single-light source NIR light, and the guanidine group in the peptide decomposes and combines with singlet oxygen molecules to generate NO gas molecules, thereby exerting an elevated photothermal effect by inhibiting the expression of HSP70. In addition, the nanoprobes enable deep imaging and treatment of glioma in situ and can be combined with a laser speckle contrast imaging (LSCI) system for multimodal imaging. This composite probe demonstrates synergistic tumor therapeutic effects of photodynamic therapy (PDT), PTT, and gas therapy, offering a promising strategy for cancer treatment.