Redactor Editor Changes Image Tag On Upload
1 answer
It looks like you can use imageUploadCallback .
This callback is triggered when the image is loaded successfully, and the image DOM element is used for you.
$('#redactor').redactor({
imageUploadCallback: function(image, json)
{
// image = this is DOM element of image
// json = for example: { "filelink": "/images/img.jpg" }
}
});
+3