How can I convert 5 separate inputs shown below:
<form action="uploadImages" method="post" id="frm">
<input name="Img1" type="file" accept="image/*;capture=camera">
<input name="Img2" type="file" accept="image/*;capture=camera">
<input name="Img3" type="file" accept="image/*;capture=camera">
<input name="Img4" type="file" accept="image/*;capture=camera">
<input name="Img5" type="file" accept="image/*;capture=camera">
<input type="submit" value="Submit Form" class="UserSubmit" />
</form>
To Base64 string before it gets sent to the HomeController.
the file types will only be images. (png/jpg).