1) Check this post to add multiple image on your image tag
Upload multiple images to the api - phonegap
2) On submit button get image src
On your submit buton add
if($('#vImage1').attr('src')){
/* Image Upload1 Start */
imagefile = $('#vImage1').attr('src');
uploadPhoto(imagefile, "vImage1");
/* Image Upload End */
}
if($('#vImage2').attr('src')){
/* Image Upload2 Start */
imagefile = $('#vImage2').attr('src');
uploadPhoto(imageURI, "vImage2");
/* Image Upload End */
}
function uploadPhoto(imageURI, vImage) {
var imagefile = imageURI;
/* Image Upload Start */
var ft = new FileTransfer();
var options = new FileUploadOptions();
options.fileKey= vImage;
options.fileName=imagefile.substr(imagefile.lastIndexOf('/')+1);
options.mimeType="image/jpeg";
var params = new Object();
params.value1 = "test";
params.value2 = "param";
options.params = params;
options.chunkedMode = false;
ft.upload(imagefile, your_service_url, win, fail, options);
}
Processing multiple simultaneous uploads with Cordova