files look better. Input:
<input name="image" type="file" multiple>
Is there a way to load images from my database into the multiple input (maybe using js with ajax)? I have a table called picture, that has an id, and url. Any help is appreciated 😊
P.s. I have googled it, but didnt find anything
You really shouldn't store images binaries blobs in your database. Instead, store paths to the file and the files on something like S3.
Figured it out. Well kinda. I'm not gonna populate the input from database, I'll just load the images on another div :) loading straight into the input would cause problems anyway
Обсуждают сегодня