The use of MVC Ueditor (to implement the upload image function)

Source: Internet
Author: User

Before using CKEditor can not implement the upload image function, as long as I do not know how to use O ( ̄ε ̄*), and then change the ueditor~~, you can upload the image function ~\ (≧▽≦)/~~

Here is my step: go to the official website to download the latest version of Ueditor, extracted and placed in the file directory, as follows:

<script src= "~/content/ueditor/ueditor.all.js" ></script><script src= "~/Content/ueditor/ Ueditor.all.min.js "></script><script src=" ~/content/ueditor/ueditor.config.js "></script> <link href= "~/content/ueditor/themes/iframe.css" rel= "stylesheet"/><script type= "Text/javascript" >    var editor = new Baidu.editor.ui.Editor ({        ueditor_home_url: '/content/ueditor/',//config editor path        Iframecssurl : '/content/ueditor/themes/iframe.css ',//style path        initialcontent: ' Welcome to Ueditor ',//Initialize editor content        autoheightenabled : true,//Height Auto growth        minframeheight:500//min height    });    Editor.render (' Text ');</script><style>


<td> content:</td>
<td>
<textarea cols= "id=" "Content" Name= "Text" rows= "ten" ></textarea>
</td>

Add a folder inside the folder Upload,image

After doing these steps, you can implement the upload image function. But I have the following problem:

This error is after debugging:

Baidu no fruit, and then found that the Ueditor folder is not completely included in the project, and then do the following actions can be:

The use of MVC Ueditor (to implement the upload image function)

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.