DEV Community

Discussion on: File uploads in Angular 10+ (or JavaScript in general)

Collapse
 
gyanendrakushwaha profile image
Senty

Hi , I want to select and upload images from a folder, I have tried field but it opens the folder where images are present. I want to first open all images in my modal then upload image by clicking on it.

Collapse
 
mayvid14 profile image
Mayvid14

Hello. Browsers are not meant to read files unless they are uploaded by the user. It would be a security issue if they could do so on their own.

If you are building your app for desktops using something like electron, then you can use node.js to do the same.