feat: add CloudFlare ImgBed attachment driver

This commit is contained in:
fei152
2026-07-23 04:15:04 +08:00
parent 78f00fb474
commit 5b83fa1722
8 changed files with 327 additions and 3 deletions
+9
View File
@@ -185,6 +185,15 @@ return [
'upload_api_endpoint' => 'Upload interface address',
'base_url' => 'Image URL prefix',
'upload_token' => 'Upload token',
'upload_channel' => 'Upload channel',
'upload_channel_default' => 'Use the CloudFlare ImgBed default',
'channel_name' => 'Channel name',
'channel_name_help' => 'Optional. Selects a named channel when the same storage type has multiple channels.',
'upload_folder' => 'Upload folder',
'upload_folder_help' => 'Optional relative path, for example nexusphp/images.',
'cloudflare_imgbed_endpoint_help' => 'Enter the complete /upload endpoint, for example https://img.example.com/upload.',
'cloudflare_imgbed_token_help' => 'Use a CloudFlare ImgBed API Token with upload permission.',
'cloudflare_imgbed_base_url_help' => 'Optional. Image URL prefix used to store relative paths. The upload endpoint origin is used when empty.',
],
'permission' => [
'tab_header' => 'Permission',