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. A dismissible filter pill and breadcrumb trail appear in the context bar while the filter is active.
Sidebar workflows
The library sidebar lists every label with a live asset count. You can:
- Click a label to filter the library
- Drag selected asset tiles onto a label row to assign that label to all dropped assets
- Use the + button in the Labels section header to create a new label in a modal
- Open the ⋯ menu on a label row to rename or delete it inline
See The Admin → Library sidebar for favourites, recently added filters, and collection assignment by drag and drop.
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