Hi Team,
I am using kendo UI editor and image browser in MVC View in form of HTML. I have to upload an image. I have created one action method and bound to the upload function of image browser. When i upload, image gets saved to the location and after that an automatic thumbnail call goes to app which has a url and pass the path parameter which is the file name. In case of new file upload it pass the path value to undefined. In upload action i am returning json response in form of:
var json = new { name = Path.GetFileName(file.FileName),
type = "f",
size = file.ContentLength
};
return Json(json, "text/plain");
Thumbnail action method is the default action method of EditorImageBrowserController class which i am using.
Please let me know if i am missing anything or do i need to override thumbnail action. If yes please provide me example.
Thanks.