This plugin adds functionality to the Payload CMS to work with Cloud Media, an image storage service like Gyazo, designed to be independent of the default Media functionality provided by Payload.
Currently, the React component displaying the Gyazo library cannot be displayed due to difficulties in setting up the path. Only the ability to store URLs, metadata, etc., is available at this stage. I will provide an update soon to enable displaying Gyazo's libraries. An official release with the above functionality will be available by the end of March.
Payload CMS version 3 or higher.
Please add plugin.tsx
to your Payload project.
And import the plugin like other React components.
// Your Payload collections file
// Add this import to the top of the file
import { cloudMedia } from '<Where the `plugin.tsx` is located>'
// Add the fields to the blocks.
blocks: [
cloudMedia,
],
We are preparing packages for easy installation via npm, etc., but this will be available only after the Gyazo library display issue is resolved. Currently, installation via npm is unavailable until Gyazo library display functionality is completed.
1. Install the plugin
// Coming soon
pnpm install @atalienet/payload-plugin-cloud-media
2. Add the plugin to the Payload configuration
// Your Payload collections file
// Add this import to the top of the file
import { cloudMedia } from '@atalienet/payload-plugin-cloud-media'
// Add the fields to the blocks.
blocks: [
cloudMedia,
],
You can use this plugin similarly to the standard Payload Media functionality.
- React
- Next.js