Skip to content

Governance, Collections, Revisions & Trash

Media includes full enterprise asset governance tools directly inside the library workspace so editorial and legal teams stay in control as asset libraries scale.

IPTC Auto-Metadata & PDF First-Page Covers

Section titled “IPTC Auto-Metadata & PDF First-Page Covers”
  • IPTC Auto-Metadata: Public image uploads automatically extract IPTC 2#105 (headline into title and alt), 2#120 (caption), 2#025 (keywords into tags), 2#110 (credit), and 2#116 (copyright / license).
  • PDF First-Page Covers: When Imagick is available on the server, PDF uploads automatically generate a first-page JPEG cover stored at _posters/{asset_id}.jpg for library cards and the Inspector preview stage.

Control exactly when an asset is eligible for public rendering:

  • approval_status: Assign approved, draft, pending_review, or archived in the Asset Inspector Details tab or in batch via Bulk Edit Metadata (BulkMetadataModal).
  • embargo_until: Set a future timestamp to hold campaign or press assets until their release window opens.
  • Automatic Enforcement ($asset->isPublished()): Media::resolvePublicAsset(), Media::renderResponsive(), MediaSeoBridge, and MediaFieldTransformer check $asset->isPublished() automatically (approved and not embargoed). Embargoed assets are also blocked across ShareService, ShareEndpoint, and TransformEndpoint.
  • Library Triage: Use the Pending Review and Embargoed Smart Views or the Approval Status filter inside Filters & Sort.

In addition to manual multi-membership Collections, editors can enable Dynamic Smart Collection inside the New / Edit Collection dialog and combine rules (kind, approval_status, tag, color_label, favorite, min_width, orientation, q, disk). Smart Collections display a Smart badge in the sidebar and evaluate matching assets dynamically whenever opened.

Bulk Metadata, Duplicate Merge & Printable Sheets

Section titled “Bulk Metadata, Duplicate Merge & Printable Sheets”
  • Bulk Metadata Editor (BulkMetadataModal): Select multiple assets to add or remove tags, assign credit, license, license expiry date, color labels, approval status, embargo date, or run bulk AI analysis in one batch.
  • SHA-256 Duplicate Merge (merge-duplicates): Filter by the Duplicates (SHA-256) Smart View, select 2 or more duplicate assets, and pick one canonical asset. $media->assets()->mergeDuplicates($canonicalId, [$dupId]) merges missing tags and collections, rewrites all Page, Entry, and Tiptap (data-media-id) references to the canonical UUID, and moves duplicates to Trash.
  • Download As Renditions, Bulk ZIP & Printable A4 Sheets: The Inspector offers a Download As popover (Original, WebP 1600px, JPEG 1200px, and configured crop presets via rendition-download) and a Print / PDF action (GET /_media/api/print-sheet?id=...&layout=sheet via PrintSheetRenderer) rendering a zero-dependency A4 Asset Spec Sheet. Selecting multiple assets adds Download ZIP (bulk-download -> single-use bulk-download-file) and Print / PDF Contact Sheet (layout=contact) to the floating bulk bar.

In-Place File Replacement & Revision History

Section titled “In-Place File Replacement & Revision History”

Replace any asset file in place ($media->replaceFile($uuid, $newPath) or from the Inspector) without breaking a single Page, Entry, or Tiptap reference:

  • Increments file_version (?v=<rev>) for automatic browser and CDN cache busting, purges stale crops, and fires Media::afterAssetReplaced + Media::afterVariationPurged.
  • When Keep Previous File Revisions (keep_file_revisions) is enabled under Settings > Uploads & Privacy, previous files are archived under _revisions/{asset_id}/ (up to max_file_revisions, default 5) and surfaced in the Inspector Version History panel for 1-click confirmed rollback ($media->assets()->listRevisions($uuid) / restoreRevision($uuid, $version)).
  • Usage Index (entries_tbl_media_usage): Tracks every reference across ProcessWire Pages, Entries, and Tiptap fields. When delete_policy is set to block (default), referenced assets cannot be deleted until references are removed or reassigned.
  • Trash (Setup > Media > Trash): Soft-deleted assets can be restored individually or purged permanently. Configure trash_retention_days under Settings > Shares & Security so the daily MediaMaintenanceTask (03:30) prunes expired trash automatically.
Setup > Media > Trash holds soft-deleted assets for safe recovery or scheduled auto-purge via trash_retention_days.

Next steps