Are there any ways to open an image which has been uploaded by <input type="file" />
, through the default image viewer of an operating system in the client side using plain javascript. ? I went through several resources but did not get a proper answer for this problem.
Here is what I am trying to achieve... This is for a completely client sided application without any backend. The user uploads few image files through html file input. I want the user to open the images he uploaded through the default image viewer of his OS. If user is using android, it should be opened through google photos or whatever user has selected default. If user is using Windows OS, it should be opened through windows photo viewer or something he has selected default. Likewise user should be able to open the image through their default photo viewer in their respective operating system in the device?
Are there any APIs or libraries for this approach? Only if there are no any solutions, are there any other better approaches to achieve this effect?