当前位置:网站首页>[use picgo+ Tencent cloud object to store cos as a map bed]

[use picgo+ Tencent cloud object to store cos as a map bed]

2022-06-24 08:58:00 Uaena_ An

With the increase of blog posts , The speed of website access has also slowed down , Especially the articles with more pictures , You have to add one by one in the local area , Update to CSDN I have to upload it again , Sometimes there is a problem of losing pictures .

So I thought about making a picture bed to store the pictures of articles , Optimize the access speed for more convenience . Because my domain name 、 The server is in Tencent cloud , So choose PicGo+ Object storage COS; Read about Tencent cloud on the Internet COS There are few tutorials for drawing beds , So write this article to record .

One 、 Tencent cloud COS To configure

It is understood that Tencent cloud COS There used to be 50G Permanent free quota ,2019-01-25 After that, Tencent cloud object storage COS The free quota has been adjusted , Now it is 50G Free for six months .

secondly , I don't think the renewal fee is very expensive , There are still some savings , And it can also be used after six months .

Now Tencent cloud needs real name authentication , If you don't have real name certification, go to the certification first , No trouble .

1. Create buckets

Get into 【 Object storage 】→【 Bucket list 】→【 Create buckets 】

  • Access right selection Public reading and private writing , Otherwise the picture cannot be read , Others can be filled in according to their own .
  • The geographical suggestion is the same as your website area .

2. The key configuration

Click on 【 Key management 】→【 cloud API secret key 】→【 New key 】

The generated key will be used later .

Two 、 To configure PicGo

PicGo  Is an open-source cross platform free image upload tool and photo album management software , It can help you quickly upload pictures to Weibo 、 Cloud again 、 Alibaba cloud OSS、 Tencent cloud   COS、 Seven cattle 、 GitHubsm.msImgur  And so on the common free picture bed website or cloud storage service , And automatically copy the image link to the clipboard , It's very efficient and convenient to use .

1. download PicGo

First of all to enter PicGo-Github Project address Download the appropriate version :

  • Windows Download my tagged version ,Linuxmac Are marked .

The download speed is really turtle speed , If you need a little partner, you can CSDN download PicGo-Setup-2.2.2.exe Compress , Ask me for it 2.1.2 The version can also be .

2. To configure PicGo

Open software , Click on 【 Tencent cloud COS】, First, we will create the above API Key paste

Then come to our 【 Bucket list 】, The bucket name 、 Fill in the area PicGo, The domain name is empty

Remember to set it as the default drawing bed , Otherwise, the upload will not go to Tencent cloud by default COS.

3. To upload pictures

Drag the picture to PicGo, And on again COS You can see that the picture has been uploaded , When using, just paste the link directly .

PicGo And album function , You can delete the uploaded pictures , Modify links and other shortcuts ,PicGo You can also generate links in different formats 、 Support bulk upload 、 Shortcut key upload 、 Custom link format 、 Rename before upload, etc , You can also use PicGo+GitHub As a drawing bed .

Use COS client

If you don't like using PicGo Words , It can also be downloaded COS client , Download the corresponding version .

Then log in with the previous PicGo almost , Enter the page with PicGo The same .

Usage method

Just briefly , Enter the object bucket , Find your photo , Click on the right 【 details 】, Then copy and paste the object address into markdown That's all right. .

End

From the author : Follow the wind Use PicGo+ Tencent cloud object storage COS As a drawing bed - You know

原网站

版权声明
本文为[Uaena_ An]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/175/202206240640397946.html