Strapi v5 plugin that shows where each media file is used across your content types, directly inside the Media Library asset details modal. Adds a "Used in" section that traces images through nested components (via BFS) up to their parent entry, showing which component contains the image and linking directly to the Content Manager entry.
released June 30, 2026
npm install strapi-plugin-media-usageA Strapi v5 plugin that shows where each media file is used across your content types, directly inside the Media Library asset details modal.
npm install strapi-plugin-media-usageThen enable it in config/plugins.ts:
export default {
'media-usage': { enabled: true },
};Rebuild and restart your Strapi server.
Open any asset in the Media Library by clicking it. At the bottom-left of the preview column you will see a "Used in" section.
Click Check usage to load the list of content entries that reference this file.

Each entry shows the content type, the entry title, and which component holds the image. Click Open → to jump directly to that entry in the Content Manager.

Click Refresh at any time to re-fetch the list (useful after editing content).
| Field | Description |
|---|---|
| Content type name | e.g. "Page" |
| Entry title | e.g. "Technologies > Next.js" |
in [Component] | The component that holds the image, e.g. "in Interactive Carousel" |
| Open → | Link to that entry in the Content Manager |
component badge | Shown instead of Open → when the file is inside an embedded component with no direct URL |
MutationObserver.GET /media-usage/files/:id/usages (admin-only route, requires a valid JWT).files_related_mph morph table to find all direct references to the file.*_cmps join tables to resolve the parent content-type entry.viaComponent — the display name of the component that contains the image.npm install
npm run build # compile with strapi-plugin build
npm test # run unit testsShare your work with the community and get it listed in the Strapi ecosystem for everyone to discover and use.
Submit
