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

Extract and display attachments EXIF info #925

Open
mateuswetah opened this issue Nov 4, 2024 · 1 comment
Open

Extract and display attachments EXIF info #925

mateuswetah opened this issue Nov 4, 2024 · 1 comment
Labels
[Effort] Level 4 😥 [Module] Admin [Module] API [Project] Iberê [Type] Enhancement Feature requests that fit into the project scope and demand will be implemented.

Comments

@mateuswetah
Copy link
Member

Context and motivation

WordPress already provides some tools to detect and store metadata from EXIF files in the media gallery modal. We can see some of them even on the upload flow. For example, here it detected the file name, type, bytes size, dimensions and creation date:

Image

This is stored in the wp-media endpoint. We've been asked if we could come up with ways of displaying this more prominently, as if it was really an item metadata instead of a hidden information bind only to the attachment.

However this is not to be confused with storing this in actual metadata, since we're talking about something that might not be desired to be edited (what is the purpose of changing the image size or ISO information if that information come from the file) and also it is not really an information per item, but per attachment. In the future we can even consider how would this relate to the incoming Attachment metadata type... but it would still be a separate information.

Still, if the information is stored somehow in the item, it should be searchable, maybe filterable and ideally exportable.

One thing that I am not sure is exactly which EXIF infos WordPress already extracts and if there is something else we should do to expand them. We could also test some integrations with plugins that already do this and even offer the option to edit them directly in the media gallery modal.

Ideal solution

We need to store this somehow with the item, maybe a control metadata? As of visualization I can see this going either as a sort of special metadata section or as new visualization tools integrated to our media gallery. Maybe an "info icon" that appears next to files which you could click or hover to see this type of information.

@mateuswetah mateuswetah added [Effort] Level 4 😥 [Module] Admin [Module] API [Project] Iberê [Type] Enhancement Feature requests that fit into the project scope and demand will be implemented. labels Nov 4, 2024
@mateuswetah mateuswetah moved this to To Do in tainacan/tainacan Nov 4, 2024
@martimpassos
Copy link

I'm particularly interested in EXIF GPS tags, as they usually have a dedicated metadatum (Geocoordinates) to be sent to... I guess it could work somewhat like a mapper, where you can link EXIF tags to metadata fields upon import (date, gps, color/b&w are some relevant tags that come to mind). I understand how this is a problem for multi-attachment items though.

If they only get displayed but not stored with the item it wouldn't help with map visualizations, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Effort] Level 4 😥 [Module] Admin [Module] API [Project] Iberê [Type] Enhancement Feature requests that fit into the project scope and demand will be implemented.
Projects
Status: To Do
Development

No branches or pull requests

2 participants