-
Notifications
You must be signed in to change notification settings - Fork 39
Uploading
Srdjan Djenader edited this page Dec 4, 2017
·
1 revision
plugins: [
'Save'
]
pluginsConfig: {
Save: {
upload: true,
uploadFunction: function (imageId, imageData, callback) {
// Here should be the code to upload image somewhere
// to Azure, Amazon S3 or similar. When upload completes we will have
// the url of uploaded image. Then call the function callback(image_url)
// to notify ImagerJs that image has been uploaded to the server
callback('http://upload.server.com/image.jpg');
}
}
}
Getting Started
Plugins
Advanced Configuration
Redactor Plugin Specific
DEMO