1 Install PicGo
PicGo is a very powerful picture bed tool that supports SM.MS, Tencent COS, GitHub picture bed, Qiniu cloud picture bed, Imgur picture bed, Alibaba Cloud OSS and other picture bed platforms.
Download address: https://github.com/Molunerfinn/PicGo/releases
Generally install PicGo-Setup-2.3.0-beta.7-ia32.exe.
You can choose multiple image beds to build, such as GitHub: https://blog.csdn.net/twi_twi/article/details/127184785?spm=1001.2014.3001.5501
Here's how to 腾讯云图床
build
2 Tencent Cloud purchase resource package
Link: Tencent Cloud
2.1 Enter Tencent Cloud, search object storage
2.2 Choose the one that suits you to purchase
(For example, if I choose 10G for 5 years, it will cost 46 yuan)
2.3 Create a bucket
Note: To select公有读私有写
2.4 View API key management
3 Configure Tencent Cloud COS in PicGo
Fill in the corresponding
storage area and see here
To store path points into your own bucket, you can set a
3 Configure Typora
3.1 Modify and obtain configuration in PicGo
Delete the content in it to look like below
, or you can directly copy the following code into it and change tcyun
the data in it according to the bucket you created
{
"picBed": {
"current": "tcyun",
"smms": true,
"tcyun": {
"appId": "1314405309",
"area": "ap-nanjing",
"bucket": "typora-picpool-1314405309",
"customUrl": "",
"path": "img/",
"secretId": "*****************************",
"secretKey": "****************************",
"version": "v5"
}
},
"settings": {
"shortKey": {
"picgo:upload": {
"enable": true,
"key": "CommandOrControl+Shift+P",
"name": "upload",
"label": "快捷上传"
}
},
"showUpdateTip": true,
"server": {
"port": 36678
},
"uploadNotification": true,
"autoRename": true,
"pasteStyle": "markdown"
},
"picgoPlugins": {
},
"debug": true,
"PICGO_ENV": "GUI",
"needReload": false
}
copy the content down
3.2 Make the following modifications in Typora
In the opened configuration file, delete the original content, paste the previously copied PicGo configuration, and click to verify the image upload option:
success