Cloudinary integration
Integrates Cloudinary for media management in Payload CMS.
Installation
pnpm add payload-cloudinary-plugin About
This plugin adds integration with Cloudinary, allowing users to manage media assets within Payload CMS. It supports uploading and managing images and videos through the Cloudinary API. The integration is configured via a `mediaManagement` function, which can accept configuration options and a handler for specifying the resource type during uploads. Users need to set their Cloudinary environment variables for access. To use this plugin, you need to include it in your `payload.config.ts` file and invoke the `mediaManagement` middleware in your server setup. The default behavior will automatically set the `resource_type` to 'auto' unless specified otherwise. This configuration allows for flexible media management tailored to the needs of the application.
Package info
- Package name
payload-cloudinary-plugin- Latest version
0.1.14- Unpacked size
- 24 kB
- License
- MIT
- Weekly downloads
- 52
- Last publish
- Sep 2, 2024