I was asked to solve a problem which I have not achieved and that is why I go to the community. In a client's portal, they need to take an image of both the desktop browser and the mobile browser. Use the tag
<input type="file" class="upload" accept="image/*" capture>
However, this does not work in desktop browsers. Only the instance of selecting an image from the computer opens.
I've tried it in Google Chrome, Internet Explorer, Mozilla and Safari without any results. But yes, on the phones. Both ios with safari and chrome and android with chrome works perfectly.
I did tests with some tutorials, with different labels but also without result.