I want to use the Froala text editor to upload images directly to my Amazon S3 account. Signature S3 required.
ImageUploadtoS3 javascript:
$('.selector').editable({
imageUploadToS3: {
bucket: 'editor',
region: 's3',
keyStart: 'uploads/',
callback: function (url, key) {
console.log (url);
console.log (key);
},
params: {
acl: 'public-read',
AWSAccessKeyId: 'ACCESS_KEY',
policy: 'POLICY_STRING',
signature: '',
}
}
});
How do I generate this signature? I am using Coldfusion 8. Thanks for your help.
source
share