Image format dropdown when using <input type=“file”>?
<p>I'd like to restrict the type of file that can be chosen from the native OS file chooser when the user clicks the Browse button in the  element in HTML. I have a feeling it's impossible, but I'd like to know if there is a solution. I'd like to keep solely to HTML and JavaScript; no Flash please.</p>

<p>Currently, i have<br>
<code>&lt;form:input path="image" type="file" accept="image/*" style="display: none;"/&gt;</code></p>

<p>And it display like below,</p>

<p><a href="https://i.stack.imgur.com/VLDE6.png" rel="nofollow"><img src="https://i.stack.imgur.com/VLDE6.png" alt="enter image description here"></a></p>

<p>But i need to display like what we have in our mspaint.</p>

<p><a href="https://i.stack.imgur.com/1JEdr.png" rel="nofollow"><img src="https://i.stack.imgur.com/1JEdr.png" alt="enter image description here"></a></p>