Cloudflare R2 is the online storage powered by Cloudflare. For more introductions, please refer to Cloudflare R2’s official site.
Add Cloudflare R2 in iPic
Open iPic’s Preferences, clicks Image Host, and add Cloudflare R2.

Here is the introductions for all parts:
Account ID- You can find it at right-top of Cloudflare R2 home.
Bucket- Same with the bucket in Cloudflare R2
Access KeyandSecret Key- They’re the
Access Key IDandSecret Access Keyof Cloudflare R2 API Token. - Note: When create the API Token, should include the
Writepermission at least.
- They’re the
Http Prefix- The endpoint for Cloudflare R2 bucket, e.g., https://ipic.your-domain.com
After fill all the parts, clicks the Validate button. If all the information above is correct, you can see the link of Passed in the right.
Beside the basic configuration above, Cloudflare R2 also supports several advanced ones. Click the ‘Advanced’ button in right of Http Prefix, you can see the following setting page.

Http Prefix- Same with what ever introduced.
Filename Prefix- Could understand as the folder in Cloudflare R2
- For example, if you want iPic upload all images in
blogfolder, just inputbloghere. The image link will like https://f004.backblazeb2.com/file/iPicDemo/blog/pic.jpg - Note: If you enable
File name prefixwhen create App Key, theFilename Prefixkey should includes theFile name prefixat least.
Filename- The filename saved in Cloudflare R2. Now iPic supports these 3 kinds of filename.
Only Filenamee.g.,pic.jpgDate-Filenamee.g.,2023-06-16-pic.jpgRandome.g.,jk8l1.jpg, could help to shorten the link.
Http Suffix- Any characters in the end of the link.
After all, clicks Apply to save.