I am making a blog website and I have a section where the user can edit their posts. I retrieve all the post information from a database and insert it into texareas for editing.
However, I don't know how I can load the file inputs with the uploaded images. For example, all uploaded images are stored in a folder, uploads
, and I want to reference that, so that they don't have to upload that file each time they make a change.
I guess it should look something like:
<input type="file" accept="image/*" value="uploads/[NAME OF IMAGE]">