Media maintenance tools
Media tools manage image sizes, missing files, hashes, and duplicates. Open Dirigible β Tools & Maintenance. Overview: Using Tools & Maintenance.
Generate missing image sizes
Creates only registered sub-sizes that are missing. Safer than a full regenerate β existing sizes stay intact. Background auto-regen can also run after deploy; use this card for larger backlogs.
- Optionally enable any confirmations on the card.
- Scan to see how many images need work.
- Generate to process attachments (one per request; uses the page delay).
New sizes may also be optimized by EWWW when that plugin is active.
Delete unused image sizes
Removes generated sub-size files whose names are no longer registered (for example after a theme change). Originals and current sizes are kept.
- Scan first.
- Confirm the danger checkbox when shown.
- Delete only after you understand what will be removed β no undo.
Fix broken image references
Finds uploads image URLs whose files are missing (for example after deleting old sizes) and replaces them with the full original.
- Choose status filters on the card if offered.
- Preview matches.
- Apply when ready.
Missing media files
Finds library attachments whose files are gone from disk (any MIME type). Reports references and can optionally delete unreferenced attachment records.
- Scan (dry run).
- Review referenced vs unreferenced rows.
- Only use Delete missing after a database backup β permanent, and confirm when prompted.
Offload/CDN setups can produce false positives; trust local disk checks carefully on those hosts.
Index media hashes
Backfills content hashes on existing images so upload duplicate blocking and duplicate reports work. Writes hash meta only β detects byte-identical files, not similar-looking variants.
- Scan for unindexed images.
- Index hashes to process the backlog.
Hashing also runs in the background over time; this card finishes faster when you need it.
Find duplicate media
Reports groups of byte-identical attachments. Read-only β does not delete.
- Run Index media hashes first if coverage is incomplete.
- Run the duplicate report.
- Decide manually which copies to keep; nothing is removed for you.
Tips
- Prefer Generate missing image sizes over deleting sizes unless you are sure old size names are obsolete.
- After fixing library alt text, run Sync alt tags under Content gardening so blocks catch up β see Content gardening tools.
- Format uploads well before they enter the library β Formatting images.