How Does Baidu editor ueditor modify the Image Upload path?

Source: Internet
Author: User
How to modify the Image Upload path in config. modify & quot; imagePathFormat & quot;: & quot; ueditorphpuploadimage {yyyy} {mm} {dd} {time} {rand: 6} & quot; In json, the generated image path remains unchanged. No matter how you modify the generated path, it is in the root directory of upl...

How to modify the Image Upload path in config. modify "imagePathFormat" in json: "/ueditor/php/upload/image/{yyyy} {mm} {dd}/{time} {rand: 6, the generated image path remains unchanged. No matter how you modify the generated path, it is the upload under the root directory, such as/upload/image/20150209/1423472250987579 .jpg. This upload folder is automatically generated. I created the uploads folder. I don't know how to modify the saved path?

Reply content:

How to modify the Image Upload path in config. modify "imagePathFormat" in json: "/ueditor/php/upload/image/{yyyy} {mm} {dd}/{time} {rand: 6, the generated image path remains unchanged. No matter how you modify the generated path, it is the upload under the root directory, such as/upload/image/20150209/1423472250987579 .jpg. This upload folder is automatically generated. I created the uploads folder. I don't know how to modify the saved path?

It is best to provide the ueditor version you are using
We use 1.3.6
Key parameters:
ImageUrl

Our code controls the path for saving images by responding to images post in this url.

If you are a php user, there is a configuration file in the php folder,
Repeat the version corresponding to your language.

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.