Using the Open source program Wecenter How to use the external seven bull as a picture server

Source: Internet
Author: User
I use Wecenter as a Web site, I found that my ECS server is not large enough, if the upload of images and resources will be exhausted, previously remember that seven of cattle seemingly can be used as external image file server. Want to let you help me to achieve this function, let my server pressure a little bit. How to realize you guys, thank you, Daniel.

Reply content:

I use Wecenter as a Web site, I found that my ECS server is not large enough, if the upload of images and resources will be exhausted, previously remember that seven of cattle seemingly can be used as external image file server. Want to let you help me to achieve this function, let my server pressure a little bit. How to realize you guys, thank you, Daniel.

Upload the image to seven cows, then seven cows will provide an outside chain, on their own website using seven bull Pictures outside the chain on the line

Not used Wecenter, the most important thing is that the main problem is not to say clearly the picture upload scene is what, users to their own album upload? Or in a text editor, send a short blog post insert picture?
If the album is uploaded, the landlord to split the album part of the Code, according to the http://developer.qiniu.com/docs/v6/sdk/php-sdk.html provided by the SDK, can be achieved.
If the text of the editor is inserted into the picture, then it is likely to be a little more cumbersome, need to look at the editor code, may involve JS code. Fixed the editor's original upload image code, can be implemented through the editor directly upload images to Qiniu. Similar to have Baidu's Ueditor+qiniu, landlord can use this as the key word to search for some content, look at the reference.

  • Related Article

    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.