Post

Solving the issue of linking Cloudflare-imgbed's Picgo with Typroa's upload return value.

The official Cloudflare-imgbed documentation provides configuration methods in its Q&A section,but it has some questions.

Solving the issue of linking Cloudflare-imgbed's Picgo with Typroa's upload return value.

The official Cloudflare-imgbed documentation provides configuration methods in its Q&A section

https://cfbed.sanyue.de/qa/

However, under normal circumstances, even if the mirror address is changed, it’s impossible to directly install its customizable prefix web-uploader plugin in Picgo. Therefore, we searched for resources elsewhere:

Awesome-PicGo/README.md at master · PicGo/Awesome-PicGo

The aforementioned repository provides a custom picgo-plugin-custom-api-uploader plugin. We select it and modify the configuration according to our needs.

1.Import Local Files

In PicGo, select Import Local Files:

Select the folder containing the downloaded repository.

2.imgbed configuration

Select the image hosting settings and choose the custom interface to upload,Fill in the content as shown in the picture:

The 3 required items are the same as in the official documentation, but the JSON path here has been modified by the author to be the return value path. The 0.src here refers to result[0].src, so it is the domain name.If you want to use it together with Typora, this is required; otherwise, the returned path after uploading the image will be incorrect and will lack the domain prefix.

This post is licensed under CC BY 4.0 by the author.