Add delete image method.