Payload EXIF is a plugin for Payload CMS that automatically extracts and manages EXIF metadata from uploaded images. This helps you access image details such as camera model, geolocation, and timestamps directly within your Payload collections.
github-video.mp4
- Install the plugin:
pnpm install payload-exif
- Add to your Payload config:
import exifPlugin from 'payload-exif';
export default {
plugins: [
exifPlugin({
// Required: an array of collections payload-exif should add EXIF data to,
// requires `upload` to be set to `true`.
collections: ['media']
// other plugin options here, the plugin has full typescript support!
}),
],
};
- Upload an image to the chosen collection with an upload field. EXIF data will be extracted and stored automatically.
- Extracts EXIF metadata from uploaded images
- Stores EXIF data in a configurable field
- Supports JPEG, TIFF, and other common formats
- Easy integration with existing Payload projects
- Optionally allows editing of EXIF data (Coming soon)
- Translations in multiple languages
Contributions are welcome! To get started:
- Fork the repository
- Create a new branch (
git checkout -b feature/your-feature
) - Commit your changes
- Open a pull request
Please see the CONTRIBUTING.md for more details.
If you have questions or need support, open an issue on GitHub, or find me on the Payload discord.