Skip to content

Provide default name (and alt text for images) in add media form #1491

@mjordan

Description

@mjordan

We could probably improve the UX when adding media by auto-populating the media Name to be the same as the parent node's title. For image media, the parent title could also be used as the pre-populated Alt text:

image_defaults

Non-image media:

document_defaults

Also, since most times users will be adding an Original File, that media use term could be selected by default.

This should be doable with some fairly simple form_alter code, although I haven't tried that yet. We could make this an option (toggle 😄).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions