Use PicGo quickly get the picture outside the chain
Most write markdown friends encounter a problem when inserting a picture, an insert from a local picture of markdown after uploading the picture will not be loaded. This is due to the insertion of local time, reference links markdown of the picture is locally based, and when the server markdown parse rendered after uploading can not find the corresponding links when local resolve this picture, resulting in an error.
To solve this problem, you need to upload pictures to chart bed (can be understood as a specialized store image server), then the server will generate a link to the image (outside the chain), with which the chain, after markdown uploaded enables server the picture loaded. Thus, the use of the chain of FIG bed can load the image generated in the markdown.
But there is still drawbacks.
problem:
Upload pictures to map bed and then get outside the chain is a cumbersome process that requires
Open Graph bed - "Upload -" waiting for upload - "get outside the chain
Upload sometimes slow or even failure, it is a cumbersome process.
Solution:
Use PicGo will automate these processes. (As used herein, seven cattle cloud in the configuration as an example)
step:
Ready PicGo, registered seven cattle cloud and complete the real-name authentication. He began to prepare the relevant settings seven cattle cloud bed.
Add Object Storage Service
Create storage space, space name (lower case best, you need to fill in PicGo set storage space name ), select the nearby area (area corresponding to the following diagram area referred fill PicGo the confirmation of storage space ), be sure to choose the access control public space .
- List to find the "object storage" on the left, and then locate the storage space you just created, pay attention to the right of domain names under test domain, you need to fill in PicGo set access URL
进入七牛云的个人空间,查看密钥管理,将AK,SK中的值分别复制到PicGo中的AccessKey和SecretKey中
基本配置就完成了。这时就可以利用PicGo完成获取图片外链的操作了,上传图片后会自动将符合链接格式的图片插入语复制到剪贴板中,直接粘贴在需要插入图片的地方就行了。