CloudFlare-ImgBed v2.7.6 🥳
Add Features
- Added an “Enable Wallpaper” switch to Web Settings. It is enabled by default; after disabling and saving it, pages use a solid-color background on the next reload.
- Added a concurrent batch deletion endpoint to the dashboard, allowing multiple files to be deleted in one request with per-item results.
- Added a folder upload button that recursively reads nested folders and preserves their relative directory structure.
- Added URL-based image resizing to the read-file endpoint with
width,height, center cropping viafit=cover, and stretching viafit=squeeze; Cloudflare Workers use the Images binding, while Docker uses Sharp. - Added an image resizing switch and allowed-size configuration under System Settings → Security Settings → Access Management to restrict requested dimension combinations.
- Added image resizing to Cloudflare Pages through custom-domain
/cdn-cgi/image/URL transformations, using a client redirect to avoid 404 responses from same-domain internal requests in Pages Functions. - Added original-file fallback via
fallback=originalto the Read API and format validation by MIME type or file extension before selecting a processing path; AVIF is available only on Worker and Docker, GIF resizing only on Docker, and SVG and other unsupported formats return415by default. - Added an “All Channels / Configured Only” filter to channel types in Upload Settings, showing configured and currently available channels by default; when the current selection is unavailable and another channel is available, it automatically switches to the first configured channel.
Optimization
- Refined the frontend with a flatter, lighter glass-style design and unified cards, toolbars, dialogs, and interaction states across the upload page, dashboard, and System Settings.
- Adjusted the upload page directory-tree button size and hover scale for a more balanced proportion with adjacent toolbar buttons.
- Simplified frontend state management by removing the unused
credentialscompatibility mapping. - Reduced Docker runtime image contents to lower the final image size.
- Refined dashboard search, sorting, view switching, batch actions, and responsive table layouts while unifying primary theme colors and dialog styling.
- Refined paste-upload controls, upload cards, and interactions across light and dark themes.
- Split common, Docker, and Worker production dependencies into deployment-specific profiles so each environment installs only the packages it needs, reducing unrelated dependencies and deployment size.
- Changed Star History bootstrap data to weekly aggregation, matching the automated update cadence and reducing daily noise in reconstructed charts.
- Added the same background blur used by cards to the admin top bar through a shared global glass-blur variable, and consolidated top-bar, pagination, and loading-action styles into one common stylesheet for consistent visuals and maintenance.
Fix Bugs
- Fixed insufficient text/background contrast in dark mode for dialog options, System Settings tabs, dropdowns, IP geolocation parameter buttons, Token permissions, and related controls.
- Fixed selected dates appearing oval in the upload trend calendar, oversized folder title overlays in the dashboard, and upload channel card hover glows collapsing into circles.
- Improved request-body validation and error handling for the batch deletion endpoint to prevent invalid requests from producing incorrect results.
- Fixed announcement textarea auto-resizing overriding manually selected heights or changing the height when focused.
- Fixed several upload-list and paste-upload textarea interaction issues.
- Fixed the mobile date-range calendar layout and alignment of indeterminate checkbox marks.
- Fixed abnormal
fetchRescontent in Docker/Node when an upstream compressed body had already been decoded but retained its original encoding and length headers, and corrected the base URL used for chained relative redirects. - Fixed
500responses when Docker/Node deployments served Telegram or Telegraph files through Cloudflare/Nginx and forwarded incoming proxy headers to the upstream; upstream requests now retain only Range and conditional cache headers.
Documentation
- Updated the Chinese and English READMEs and storage backend guides with compatible storage services and channel configuration details.
- Added Chinese and English documentation for the batch deletion API.
- Added Chinese and English documentation for the Read API, including image sizing parameters, deployment differences, and actual error statuses.
Add Features
- 网页设置新增“启用壁纸”开关,默认开启;关闭并保存后,页面刷新时使用纯色背景
- 管理端新增并发批量删除接口,可在一次请求中删除多个文件,并分别返回每项结果
- 上传页新增文件夹上传按钮,支持递归读取文件夹及其子目录,并保留相对目录结构
- 读取文件接口新增 URL 图片尺寸处理,支持
width、height、fit=cover居中裁剪和fit=squeeze拉伸;Cloudflare Worker 使用 Images binding,Docker 使用 Sharp - 系统设置 → 安全设置 → 访问管理新增图片尺寸处理开关和允许尺寸配置,可限制客户端请求的宽高组合
- Cloudflare Pages 部署新增通过自定义域名
/cdn-cgi/image/URL 转换处理图片尺寸,并采用客户端重定向避免 Pages Functions 同域内部请求返回 404 - 读取 API 新增
fallback=original原图回退,并在进入具体处理渠道前按 MIME 类型或文件扩展名校验格式;AVIF 仅 Worker 和 Docker 支持,GIF 仅 Docker 支持,SVG 及其他不支持格式默认返回415 - 上传设置的渠道类型新增“全部 / 已配置”筛选,默认仅展示已配置且当前可用的渠道;当前选择不可用且存在其他可用渠道时,会自动切换到首个已配置渠道
Optimization
- 前端整体调整为更扁平、轻量的玻璃质感视觉,统一上传页、管理端和系统设置中的卡片、工具栏、弹窗及交互状态
- 优化上传页目录树按钮的尺寸与 hover 缩放,使其与相邻工具按钮的视觉比例更协调
- 精简前端状态管理,移除不再使用的
credentials兼容映射 - 精简 Docker 运行时镜像内容,降低镜像体积
- 优化管理端搜索、排序、视图切换、批量操作栏和响应式表格布局,并统一主要主题色与弹窗样式
- 优化上传页粘贴上传控件、上传卡片及深浅色模式下的交互效果
- 将公共、Docker 和 Worker 生产依赖拆分为独立部署配置,仅安装对应运行环境所需依赖,减少无关依赖和部署体积
- Star History 初始化数据改为按周聚合,与自动更新周期保持一致并减少重建图表时的日级噪声
- 管理端顶栏新增与卡片一致的背景模糊效果并复用全局玻璃模糊变量,同时将顶栏、分页和加载操作归入统一的公共样式,保持界面观感与后续维护入口一致
Fix Bugs
- 修复深色模式下弹窗选项、系统设置标签页、下拉框、IP 归属地参数按钮和 Token 权限等区域文字与背景对比度不足的问题
- 修复上传趋势日历选中日期显示为椭圆、管理端文件夹标题遮罩过大,以及上传渠道卡片 hover 光晕变成圆形的问题
- 修复批量删除接口的请求体校验与异常处理,避免无效请求产生错误结果
- 修复系统公告文本框自动调整高度时覆盖用户手动设置高度,以及聚焦后高度发生变化的问题
- 修复上传列表和粘贴上传文本框的部分交互问题
- 修复移动端日期范围日历布局及多选框不确定状态标记偏移的问题
- 修复
fetchRes在 Docker/Node 环境代理压缩响应时,正文已解码但仍保留原编码和长度响应头导致内容异常的问题,并修正多级相对重定向的基准 URL - 修复 Docker/Node 部署经 Cloudflare/Nginx 访问 Telegram 或 Telegraph 文件时,入口代理头被继续转发给上游而导致图片返回
500的问题;上游请求现仅保留 Range 和条件缓存头
Documentation
- 同步更新中英文 README 和存储后端说明,补充兼容存储服务及渠道配置相关文档
- 新增中英文批量删除 API 文档
- 新增中英文读取 API 文档,补充图片尺寸参数、部署差异和实际错误状态说明