多行文本和图像上传一种形式 - Laravel

I have a form combination of text and image upload for multi-rows insertion to table

<input class="form-control" id="" placeholder="" type="text" name="failure[]">
<input class="form-control" id="" placeholder="" type="text" name="remark[]">
<input class="form-control" id="" placeholder="" type="hidden" name="id[]" value={{ $id }}>
<input type="file" accept="image/*" capture="camera" name="image[]" />  

<input class="form-control" id="" placeholder="" type="text" name="failure[]">
<input class="form-control" id="" placeholder="" type="text" name="remark[]">
<input class="form-control" id="" placeholder="" type="hidden" name="id[]" value={{ $id }}>
<input type="file" accept="image/*" capture="camera" name="image[]" />  

<input class="form-control" id="" placeholder="" type="text" name="failure[]">
<input class="form-control" id="" placeholder="" type="text" name="remark[]">
<input class="form-control" id="" placeholder="" type="hidden" name="id[]" value={{ $id }}>
<input type="file" accept="image/*" capture="camera" name="image[]" />  

id in the hidden are unique as there are generated by a loop.. above just for illustration purpose. original code are too complicated to be posted here

in controller I am trying to get the image correspond to each set of row

public function checklist_store_data(Request $request)
{
$input = Input::all();
return $input; // parse form data received
}

If I decided to upload one photo and leave other 2 empty this is what I get from the console.log

{"failure":["A","B","C"],"remark":["X","Y","Z"],"id":["1","2","3"],"image":[{}]}

Questions

  1. How can I correspond the image files uploaded to the respected id ?

  2. How can I get the file name of the image for the image object ?

Thanks in advance Apologize if I unable to explain my problem clearly and thanks for your patience

First of all, your form element should have 'enctype' attribute for multipart data :

<form action="your_action", method="post", enctype = "multipart/form-data">

For check files in image array :

dd($request->image);