我正在使用laravel api应用程序,并且必须将base64编码图像上传到AWS S3存储桶。 我可以直接上传通过 $this->request->imageInput->store('public');//in local server
Storage::disk('s3')->put('FILENAME', file_get_contents('imageInput'));//in S3
我正在使用jquery file upload来处理上传图片。 目前,上传的文件正在里面/themes/mytheme/assets/plugins/file-upload/server/php/files/upload/test' which is controlled by the below code in UploadHandler.php`店... 'upload_dir' => dir