Added ability to remove contact image, and added code for image_refs