It can be activated including the photodynamic agents that biodegradable polymeric nanoparticle forms kernel and generate the preparation of cytotoxin singlet oxygen. It all includes actinic keratoma, psoriasis and acne vulgaris that these nanoparticles, which have antiproliferation and can be used for treating carcinous and non-cancerous condition,. Preferably, pdt agent is that polymer/nanoparticle includes polyglycolic acid, polylactic acid or poly(lactide-co-glycolide) simultaneously for a kind of hypocrellin B derivatives. Hypocrellin comprising nano particle proves light and activates or hydrogen peroxide.