-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Copy link
Labels
[Feature] MediaAnything that impacts the experience of managing mediaAnything that impacts the experience of managing media[Package] Fields/packages/fields/packages/fields[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Description
Part of #55238
In order to create different DataViews or DataForms for viewing, picking, or editing media, create dedicated fields for media/attachment properties.
These could include:
-
alt_text -
caption -
description -
filename -
filesize -
media_dimensions -
mime_type -
media_thumnbail(display an image if available, fallback to displaying text of the filename?) -
attached_to -
date(read only) -
modified(read only) -
author(read only)
Use cases
- For the media modal (being explored in Try using DataViewsPicker in an updated media modal #71944)
- In a DataViews-powered media library
- In a media editor, and/or quick edit of media metadata
Some questions / considerations
- Where should the fields live? As discussed in Try using DataViewsPicker in an updated media modal #71944 (comment) if a post field like
featured_imageuses a media modal, and the media modal uses these media fields, then they likely shouldn't live in the same place as post fields (due to the risk of circular dependencies) - Should there be a separate package specifically for these fields? I.e.
media-fieldsor something like that, instead of thefieldspackage? - Related: should post fields (like
featured_image) be more generic, and should there be a genericmedia_uploadfield that other fields can extend / re-use?
Metadata
Metadata
Assignees
Labels
[Feature] MediaAnything that impacts the experience of managing mediaAnything that impacts the experience of managing media[Package] Fields/packages/fields/packages/fields[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] EnhancementA suggestion for improvement.A suggestion for improvement.