created an action object for add image
created the spec for add image