Typora uses it to establish a remote image bed on Tencent Cloud [multiple images]

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

insert image description here
insert image description here

2.2 Choose the one that suits you to purchase

(For example, if I choose 10G for 5 years, it will cost 46 yuan)
insert image description here

2.3 Create a bucket

insert image description here
Note: To select公有读私有写
insert image description here

2.4 View API key management

insert image description here
insert image description here

3 Configure Tencent Cloud COS in PicGo

Fill in the corresponding
insert image description here
storage area and see here

insert image description here
To store path points into your own bucket, you can set a
insert image description here

3 Configure Typora

3.1 Modify and obtain configuration in PicGo

insert image description here
Delete the content in it to look like below
insert image description here
, or you can directly copy the following code into it and change tcyunthe 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

insert image description here
In the opened configuration file, delete the original content, paste the previously copied PicGo configuration, and click to verify the image upload option:
insert image description here
success

Guess you like

Origin blog.csdn.net/twi_twi/article/details/128417329