Cloudinary storage adapter for Payload CMS v3. Replaces local file storage with Cloudinary's cloud-based solution, offering automatic image optimization, transformations, and global CDN delivery. Version 1.2.1, actively maintained. Key differentiators: dynamic folder management, transformation presets, upload queue, signed URLs for private files, public previews with watermarks, and smart re-upload prevention.
npm install payload-storage-cloudinaryNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic setup of Payload CMS with Cloudinary storage plugin, including environment variables for Cloudinary credentials and disabling local storage.
Ensure your project uses Payload CMS v3.0.0 or later.
In your upload collection config, set upload.disableLocalStorage to true.
If you relied on the old behavior (url containing transformed URL), use 'transformedUrl' field instead.
Use process.env variables for cloud_name, api_key, and api_secret.
Monitor usage via Cloudinary dashboard, consider queue system for large files.
Provide a collections object with at least one collection, e.g., cloudinaryStorage({ collections: { media: true } })Add 'upload: { disableLocalStorage: true }' to your upload collection config.Run 'npm install payload-storage-cloudinary' and ensure import is from the package name.