<form action="/action_page.php" enctype="multipart/form-data"> <label for="images">Select images:</label> <input type="file" name="images[]" id="images" accept="image/*" multiple="multiple" id="product-photo-add"> <input type="submit"> </form>