support upload paste image in text template