Frequently Asked Questions
This section collects common questions and solutions encountered by users when using CloudFlare ImgBed.
Q: ALLOWED_DOMAINS
is not set, but cross-domain access doesn't work?
- Please check your Cloudflare firewall settings (e.g., whether hotlink protection is enabled)
- See Issue #8
Q: How to upload via PicGo?
Search for
web-uploader
in PicGo plugin settings and install the version that allows custom prefixes, as shown:Open
Image Hosting Settings
->Custom Web Image Hosting
->Default
, then configure as shown in the figure below. Note that the API address and custom image URL prefix should be modified according to your own domain. (IfAUTH_CODE
is set, make sure to add it to the API address in the format?authCode=your_authCode
):After setup is complete, confirm and you can use PicGo to upload to your self-hosted image hosting.
Q: What to do if uploading high-resolution or certain images via Telegram channel fails?
- Check if the
Server-side Compression
option is enabled during upload (Upload Page -> Upload Settings -> Server-side Compression). If it is enabled, try disabling it and re-uploading.
Q: What to do if upload fails?
- Check if the upload channel is configured correctly
- Check if the Telegram channel has granted the bot sufficient permissions
- Check if KV database or D1 database is correctly bound (one of the two)
- Check if updated to the latest version
- Go to issues to find similar problems
Q: Does TG_CHAT_ID
have a -
in front?
- Follow the value returned by the bot, retain the
-
if present
Q: Backend page cannot load records or images
- Network issue, try refreshing the page