Stores Payload upload files in Cloudflare R2 buckets instead of local disk
Cloudflare Images Storage Adapter
Stores Payload uploads in Cloudflare Images and serves them from its CDN
Installation
pnpm add payload-cloudflare-images-storage-adapter About
Cloudflare Images Storage Adapter sends media uploads from a Payload collection to Cloudflare Images instead of the server's disk or a bucket. Visitors load the files from Cloudflare's image delivery network, so pages get images from the edge without passing through the Payload server. The adapter adds a read-only field to the media collection that holds the Cloudflare image ID, which is used to build delivery URLs and to remove the image when its media document is deleted.
When direct delivery is enabled, Payload's own access control no longer applies to those files, so anyone with the delivery URL can view them. Access rules then have to be set up in Cloudflare, and the adapter does not generate signed URLs. You need a Cloudflare account with Cloudflare Images turned on.
Package info
- Package name
payload-cloudflare-images-storage-adapter- Latest version
0.0.2- Unpacked size
- 32 kB
- License
- MIT
- Weekly downloads
- 101
- Last publish
- Mar 26, 2026
Similar adapters
More in StorageStores collection uploads in Vercel Blob Storage instead of local disk
Stores Payload uploads in Google Cloud Storage buckets, with optional direct browser uploads
Stores Payload uploads in UploadThing file hosting
Stores Payload uploads in Azure Blob Storage, with optional direct browser uploads
Stores Payload uploads in Amazon S3 buckets with optional presigned downloads