Skip to content

This plugin reads and saves EXIF data into your media collection allowing you to use and read this data in your Application.

License

Notifications You must be signed in to change notification settings

Patrickroelofs/payload-exif

Repository files navigation

Payload EXIF

Introduction

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

Quick-start

  1. Install the plugin:
pnpm install payload-exif
  1. 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!
   }),
  ],
};
  1. Upload an image to the chosen collection with an upload field. EXIF data will be extracted and stored automatically.

Features

  • 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

Contributing

Contributions are welcome! To get started:

  1. Fork the repository
  2. Create a new branch (git checkout -b feature/your-feature)
  3. Commit your changes
  4. Open a pull request

Please see the CONTRIBUTING.md for more details.

Need Help?

If you have questions or need support, open an issue on GitHub, or find me on the Payload discord.

Contributors

About

This plugin reads and saves EXIF data into your media collection allowing you to use and read this data in your Application.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Contributors 2

  •  
  •