The tumor phototherapeutic application of nanoparticles constructed by the relationship between PTT/PDT efficiency and 2,6- and 3,5-substituted BODIPY derivatives.