How to send multiple image to the server


#1

I want to submit multiple image to the server below my code

onTake(){
 const options: CameraOptions = {
  quality: 100,
  destinationType: this.camera.DestinationType.DATA_URL,
  encodingType: this.camera.EncodingType.JPEG,
  mediaType: this.camera.MediaType.PICTURE
}

this.camera.getPicture(options).then((imageData) => {
 this.ImageData = 'data:image/jpeg;base64,' + imageData;
     this.photos.push(this.ImageData); //if you have to show multiple image
}, (err) => {
 // Handle error
});
}

please help me out.

now i’m want to send multiple images to the server
please tell me how can i do that?