Skip to content
Discussion options

You must be logged in to vote

@pxpm thanks for helping. I actually managed to work it out and just in case its useful here is how i achieved it.

Note that you will have to have Vapor installed and run
npm install --save-dev laravel-vapor
added a policy file and a few other steps that can be found here -> https://docs.vapor.build/1.0/resources/storage.html#file-uploads

Then I copied and updated the image blade file like so: (note the tmp_disk option)
Also, it tries to do Vapor.store on the form submit, then submit again.. I have not tested but i imagine it will do one by one until all done if a few images... im sure i have missed edge cases, one being on form fail and not being about to see the /tmp/ file in the s3 buc…

Replies: 5 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by malek77z
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@malek77z
Comment options

@pxpm
Comment options

pxpm May 25, 2023
Maintainer

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants