Kendo the use of the image browser in the UI web

Source: Internet
Author: User
Transferred from: http://jingyan.baidu.com/article/20b68a88699c16796cec6282.html

Kendo the image browser in the UI Web opens a simple dialog box by default, as shown in the following figure, which allows users to type or paste the URL of a picture and specify a tooltip.



From KendoUIQ3 2012, the editor's component supports a new way of selecting images, which also supports image uploads by browsing the list and directory of pre-defined files.


The image browser requires a server-side implementation to retrieve and upload files and directories.

Configuring the ImageBrowser image browser

With the configuration options of the ImageBrowser image browser, you can efficiently configure the ImageBrowser image browser.


requests and responses for Create/read/destroy/upload operations can be implemented as follows:


The name here is either a file or a path, the type is "F" for the filename, or "D" for the Directory rectory, and size is the file.

Destroy--the request can be made with the following parameters.

name– Select the files and directories you want to delete

path– the path of the file/directory in the directory

type– Enter the file or path to be deleted (f or D)

Size of the size– file

Upload-sends a request to Uploadurl, which contains the upload file and expects a file object to respond.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.