[QUESTIONS] S3 file upload example
Question
Are any examples of using Aws S3 to store asset files available?
Answers (3)
To upload to S3 direct from the browser, a pre-signed URL needs to be obtained from the app's server first. The URL needs to contain the file's name.
Is it possible to assign the asset manager's upload URL in the before upload event?
This does not work:
this.editor.on('asset:upload:start', () => { this.editor.assetManager['upload'] = preSignedUrl; });
Check this PR https://github.com/artf/grapesjs/pull/1430
To update the config of the upload url:
editor.AssetManager.getConfig().upload = 'asdasd'
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1418
[BUG?] Asset manager not deleting files on server unless upload triggered.
Running latest version (0.14.29) on local server. Using the example webpage preset. Ubuntu 18.04, Chromium 68. Assetmanager init: And exten...
Issue #1223
[Question]Asset Manager Upload in ASP.Net
I want to save file when i upload in dropzone, to do in init And in my Controler ASP.Net SuperAdmin : But formdata is always null ??? What...
Issue #1757
Remote storagemanager not working
Hello, For 2 days I am fighting with the storageManager. I couldn't load template from remote file. Finaly I discovered that it is working...
Issue #372
Asset Manager not automatically add images to assets after uploading
The JSON response of an upload is like this {"data":["http://url.com/flower.jpg"]} The response event is working.In the response event resp...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.