add image and how to use mode / edit TypeA TypeB