Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use EXIF metadata for title and caption #314

Open
swissspidy opened this issue Jan 17, 2024 · 0 comments
Open

Use EXIF metadata for title and caption #314

swissspidy opened this issue Jan 17, 2024 · 0 comments
Labels
enhancement New feature or request p2

Comments

@swissspidy
Copy link
Owner

swissspidy commented Jan 17, 2024

\WP_REST_Attachments_Controller::insert_attachment() uses wp_read_image_metadata() to extract some metadata and uses that for attachment title and caption.

We remove that data during upload, but maybe we can extract it first and then send that separately?

Questions:

  • How to extract the metadata (vips, something else)
  • Should metadata removal be opt-in?
  • How can we send all of the extracted metadata (e.g. copyright, aperture, etc.) separately during upload and not just title/caption?

Related:

@swissspidy swissspidy added the enhancement New feature or request label Jan 17, 2024
@swissspidy swissspidy added the p3 label Jun 6, 2024
@swissspidy swissspidy changed the title Use exif metadata for title and caption Use EXIF metadata for title and caption Aug 26, 2024
@swissspidy swissspidy added p2 and removed p3 labels Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request p2
Projects
None yet
Development

No branches or pull requests

1 participant