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.