Background#
I want to store images without having to buy a server directly, and be able to easily access the image resources through external links. Here we have the combination of typora and PicGo.
Configuring Multiple Image Repositories in PicGo#
Taking Qiniu Cloud as an example:
Official website: https://portal.qiniu.com/
Qiniu Cloud provides 10GB of free storage space and 10GB of CDN static resource acceleration.
Note: Exceeding the CDN limit will require payment.
Refer to this document: Configuration Manual | PicGo
PicGo configuration as shown in the following figure:
Personal access key:
Refer to: Qiniu Cloud - Key Management (qiniu.com)
Space name:
I have customized the space name as: nxg-img
Refer to this link for storage region: Storage Region_Product Introduction_Object Storage - Qiniu Developer Center (qiniu.com)
Image storage path:
I use the typora editor, so I customized the typora directory
Note:
For custom domains, the free CDN only provides the http protocol. When using an external link domain, you need to fill in http instead of https.
The purpose of the URL suffix is: when using Qiniu's image processing tool, some processing parameters will be used, such as image slimming.
As shown in the figure:
Domain binding:
If you have purchased your own domain, you can use it. If not, you can use the one provided by the official website.
Extension#
GitHub image hosting configuration
CDN accelerated GitHub image hosting:
https://cdn.jsdelivr.net/gh/github_username/repository_name@main_branch/
For example:
https://cdn.jsdelivr.net/gh/imnxg/imgbeds@main/
Refer to: GitHub Configuration | PicGo
Gitee image hosting configuration:
Refer to: https://github.com/lizhuangs/picgo-plugin-gitee-uploader.git
Appendix#
Refer to:
GitHub repository: Molunerfinn/PicGo