Creation and error handling for add image to set.