imageBrowser.transport.thumbnailUrl String|Function

The URL for retrieving the thumbnail version of the image. If not specified a default image icon will be shown. If function is assigned, the current path and image name will be provided.

Example

<textarea id="editor"></textarea>
<script>
$("#editor").kendoEditor({
  imageBrowser: {
    transport: {
      thumbnailUrl: "/thumbnail"
    }
  }
});
</script>

Example - thumbnailUrl as a function

<textarea id="editor"></textarea>
<script>
$("#editor").kendoEditor({
  imageBrowser: {
    transport: {
      thumbnailUrl: function(path, file) {
        return "/thumbnail?path=" + path + file;
      }
    }
  }
});
</script>
In this article
Not finding the help you need?