Implemented add image and palette