add image  method