vendredi 8 mai 2020

Browse images on a server from a form button like when uploading an image

I am very new to Laravel so this may be a trivial one but basically, in a form, I want a choose image button that then allows the user to browse a selection of images from my image storage (s3).

I want them to be able to browse it in the same way as if they were doing a file upload.... but restrict their visibility to being a directory containing all the images on my server, so I guess basically allowing them to browse a directory on the server via windows explorer or finder so they can select an already existing image.

Is that doable? easily?

On my website I have an image section where users can upload images, then in another section I have a form and part of the form allows a user to select one of the uploaded images.

It doesn't matter who uploaded the image, all users should have access to this image bank to choose one for the form.

Any help, advice or a nudge in the right direction would be greatly appreciated!

Many thanks,

Krivvenz.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire