# Media

URL: https://kywi-docs-production.up.railway.app/authoring/media
Type: docPage

The media library is scoped to the active site, and deleting a file a page still uses is blocked until you confirm — forcing it leaves that reference dangling.

The media library holds every image and file you've uploaded, scoped to the site you're currently working in — reusing an asset on a second site means uploading it there too, not picking it from the first site's library.

## Deleting a file that a page still uses

Delete a file that's referenced anywhere — a page's featured image, or an image module inside a layout — and the library stops you rather than deleting it out from under that page. It shows you exactly which content items reference the file and where: featured image, or layout — so you can go fix the reference before you touch the file again, instead of guessing which pages would break.

## Forcing the delete leaves the reference dangling

You can push the delete through anyway, and the library says plainly that the reference "will be left dangling" before you confirm. Forcing it does not repair anything on the pages that referenced the file — the featured-image field or the layout's image module still points at the now-gone file, and nothing fixes that automatically. Repoint or remove those references yourself, before you force the delete or after.

## Delete means Trash, not gone

An ordinary delete — blocked or forced — moves the file to Trash rather than erasing it; it can be restored from there. A separate, permanent-delete action is the one that's actually irreversible, so an unreferenced file you delete by mistake is still recoverable even after you've confirmed the delete.
