[Baidu Editor] Ueditor managing pictures online

Source: Internet
Author: User

Objective:

Today, the company is doing CMS in the editor, Ueditor is a very good choice, very powerful, but today encountered a very difficult problem: the online management of the image page can not display my previous uploaded pictures, debugging an afternoon finally solved the problem, write this post hope to help others. End of crap.
To use this plugin you need to do these steps:

1. Download the UM or UE address: http://ueditor.baidu.com/website/index.html Here is the two version of the Baidu editor, a few features, a more functional, detailed introduction to see the official explanation.

2. Create a Web project, this editor needs to rely on server processing, there is a problem in the dependencies of these server jar, I use the 1.4.3 version, Ueditor-1.1.1.jar picture path problem.  The problem is probably this: the final path of the picture is displayed as: e://tomcat8/webapps/xxx/ueditor/.... This way, of course, the page cannot display photos. I'll put the download link for this jar on my web drive later.

3. Create a JSP page in your Webroot (your Web application directory) directory or HTML to introduce the relevant resource file, write the start JS. http://fex.baidu.com/ueditor/, this is an example.
4. Start your project, there is a problem here, if you do not configure the following path in the project, you will not find the corresponding request path.
${url}: Http://127.0.0.1:8080/ueditorDemo
Window. Ueditor_home_url = "${url}/public/ueditor/";
Window. Base_url = ' ${url} ';
5. Use Bai.

Jar:http://pan.baidu.com/s/1mg5reag

Ps:

If you have any questions, please feel free to email me [email protected] and I will get back to you as soon as possible.

Pure hand Reproduction Please specify the source: Http://i.cnblogs.com/EditPosts.aspx?opt=1

[Baidu Editor] Ueditor managing pictures online

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.