Hello,
How to upload multiple photo in ionic 2 ?? I founed plugin camera but tuto when I found is for upload one photo but I have upload multiple photo
Simply create an array.
As example:
HTML
<div *ngFor="let yourImage of yourImages">
<img [src]="yourImage">
<div>
TS
yourImages: Array<{ src: String }>;
//initialize the array
constructor(){
yourImages = [];
}
Note: Don’t forget to add the “yourImages” to your camera settings!
Hope it works out.