当前位置:网站首页>Alibaba cloud object storage oss+picgo+typera implements the construction map

Alibaba cloud object storage oss+picgo+typera implements the construction map

2022-06-23 05:41:00 Bruce Lee hibernation

Upload the picture to the object store , The advantage is convenience !!!

1. First apply for an object store OSS, Log in to alicloud -> Enter the worktable -> Object storage OSS-> establish Bucket

  Basically, the default options only need name and Change the read-write permission to public read that will do

2. If conditions permit, it is recommended to purchase resource packs ( Downloading and accessing the object store will consume the traffic cost , It is recommended to purchase a resource pack , Half a year 5 Yuan less than )

I didn't seem to buy it

Integrate to PicGo

3. stay typroa install PicGo-Core plug-in unit

I believe you all have typroa Then I won't write the download tutorial

Click... After downloading : file -> preferences -> Images , Click download or update after the following configuration .

Set as follows :

4. Setup profile  

Click to open the configuration file : Follow the configuration below

{
    "picBed": {
      "uploader": "aliyun",
      "aliyun": {
      "accessKeyId": "", //ram Of accessKey
      "accessKeySecret": "", //ram Of accessKey
      "bucket": "", // Bucket Domain name content is .oss-cn-hangzhou.aliyuncs.com The front part 
      "area": "", //  The region node is .aliyuncs.com The front part 
      "path": "img/", //  Storage path 
       "customUrl": "", // Bucket domain name , Pay attention to add  http:// perhaps  https://
       "options": "" //  Some suffix processing parameters for images  PicGo 2.2.0+ PicGo-Core 1.4.0+
      }
    },
    "picgoPlugins": {}
  }

  Just set up accessKeyId,accessKeySecret,bucket,area Four properties , Whatever else

accessKeyId,accessKeySecret :

Create new... Will appear AccessKey: You can directly click continue to use to create with the current user AccessKey. Remember what will be displayed immediately after creation accessKeyId and accessKeySecret recorded , There is no place to view it later , If you forget, you can only recreate .

bucket,area :

Only fill in the invisible , No other suffixes need to be written

5. verification

result :

6. Usage method

After completion , You can go directly to typora Copy pictures or use shortcut keys ctrl+shift+i Insert pictures .typora The image will be automatically uploaded to the object storage and the path will be changed to the path in the object storage .

Very convenient

原网站

版权声明
本文为[Bruce Lee hibernation]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/174/202206230351533685.html