A hypoxia-activatable theranostic agent with intrinsic endoplasmic reticulum affinity and type-I photosensitivity.