Labels

Creating and managing labels for organising and filtering assets in the MediaHub library.

Managing labels

Go to Setup → Media Hub → Labels to manage global library labels. Labels are ProcessWire pages, so you can create, rename, and delete them from this screen.

Assigning labels to assets

Assign labels to an asset from the metadata sidebar on its detail page. Multiple labels can be assigned to a single asset.

Filtering by label

In the library view, click any label in the sidebar to filter the library to assets with that label. Labels are also available as a filter criterion in the library toolbar.

Labels in template code

Labels are queryable in template code via the labels() and hasLabel() methods on asset pages. See the Template API for the full reference.

Per-reference display tags

In addition to global labels, MediaHub supports per-reference display tags that apply only in the context of a specific page and field. These are separate from library labels and are covered on the Per-Reference Metadata page.

Last updated