i'm trying use image upload feature of kendo editor. image uploading working fine, thumbnails in browse window not showing correctly. achieving this, i'm trying call function in thumbnail attribute. but, not firing. please find code snippet below , me find issue.
transport: { read: "api/imagebrowser/read", thumbnailurl: function (path, name) { alert('inside thumbnail'); //return "api/imagebrowser/thumbnail?path=" + path + file; }, uploadurl: "api/imagebrowser/upload", imageurl: "content/images/{0}" }
i'm using web api , angularjs. other suggestions show thumbnails welcome.
thumbnailurl: function (path, name) { path = "yourapi/read" + "/" + name; return path; }
default path "", , name filename.
i think solved... luck.
Comments
Post a Comment