Implementing a function to upload images to my program

Implementing a function to upload images to my program
0.0 0

#1

Hi,

I would like to create a function in my program so a user can upload their own images into the gallery. I understand there is a way with input tags and type=“file”. I’d like to format this through a button and frankly, I don’t even know where to start. I can’t seem to find any tutorials or guides to explain this process. Could someone share their knowledge on this topic? Thank you.


#2

You can do this with server-side technology. I don’t believe it would be possible without it.


#3

Thanks, I will look into this.


#4

This is basically the File Metadata Microservice, so plenty of example code on Github. Depending on what you want to do with the file once it is uploaded, this doesn’t have to be to difficult. Though you would have to learn (or already know) some basic Node/Express.


#5

Hey, man!

The only method I know is through HTML5 File API

Let me know if you find something cool