Clear warning and add image array