@qlirim-qh1
1)Do you already have created the function for the upload-process?
If you want to store images into your DB, then you first will need the url of the uploaded image, after the upload. → First generate an UPLOADER.
-
When you have the right upload-URL of the wished image (after upload), then you can continue, by taking this image-url and putting it into your generated DATABSE.
-
But before you can add the URL into your DB, you will need the right user-id of the user who wants to upload the file. When you got this user-ID, you can save the URL into your PIC-DATABASE into the right DATAFIELD (for example called —> “picUrl” or something like that.
How do look like your database? Do you use 2-separate DBs (1xUser-DB / 1x PIC-DB) ?
I think you underestimate the whole thing a little.