# Website media library ## Find a file Open **Site content → Media library** in [Website Admin](/en/docs/website-admin-dashboard) at `/admin/media-library`. Access, upload and deletion require full admin access or the Website `site_content` permission. Files are shared across the website with no organization or locale filter. This library stores materials intended for public pages. Search matches file names without regard to case. Each card displays the name, size in KB and usage count. Select an image to open it full size, play a video with the embedded controls or follow a document link. Cards have no separate title, translation, description or alternative-text fields. Add captions or link labels on the content form where those fields are provided. ## Upload a file and use it on a page 1. Select **Upload file**. Choose **Image / icon**, **Video** or **Document**. Image is initially selected. Attach the file and submit. The notification confirms the upload. 2. Find the card by name and check its preview. The type selects a directory on public storage. The library lists files matching the extensions for that directory. Choose Document for a PDF, otherwise the file may be absent from the corresponding list. 3. Open the target content record. In a media field, use **Choose existing**, select the file and save the record. These fields may also offer upload and URL options. Existing-file choices can include assets packaged with the frontend. The central media library lists admin uploads. 4. Open the intended public website page. Uploading alone does not place a file on a page. For example, attach a public PDF catalog in a solution’s attachment field, set its link label if the field is provided and check the link on the solution page. | Type | Directory | Extensions listed by the library | | --- | --- | --- | | Image / icon | `uploads` | PNG, JPG, JPEG, WebP, GIF, AVIF, SVG, ICO | | Video | `uploads/videos` | MP4, WebM, OGG, OGV, MOV | | Document | `uploads/documents` | PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, CSV, ZIP | ## Check usage and delete an upload Hover over **Used by N** to see records and settings that reference the stored path. The check covers registered media fields including banner layers, partners, features, modules, solution content and registered home-page settings. Multiple fields can reference the same upload. Trying to delete a referenced file displays its references and keeps the file. To replace it, upload the new file, select it in each relevant field and save the pages. Check the old file’s usage again. **Unused** means no match in the registered fields. The count does not scan Markdown links, external sites or free text. Check those references separately. For an unused upload, select **Delete** and confirm permanent deletion. This page has no trash or restore action. For links within a manual, see [Manage documentation articles](/en/docs/website-documentation-pages). For shared navigation labels, see [UI translations](/en/docs/website-ui-translations). ## Implementation references - [website_backend · Pages/MediaLibrary.php](https://gitlab.kamoorj.com/development/website_backend/-/blob/bcec6b86333006b6a6bccc6f8fc74e534e873aef/app/Filament/Pages/MediaLibrary.php) - [website_backend · pages/media-library.blade.php](https://gitlab.kamoorj.com/development/website_backend/-/blob/bcec6b86333006b6a6bccc6f8fc74e534e873aef/resources/views/filament/pages/media-library.blade.php) - [website_backend · Support/AdminPage.php](https://gitlab.kamoorj.com/development/website_backend/-/blob/bcec6b86333006b6a6bccc6f8fc74e534e873aef/app/Filament/Support/AdminPage.php) - [website_backend · Support/MediaInput.php](https://gitlab.kamoorj.com/development/website_backend/-/blob/bcec6b86333006b6a6bccc6f8fc74e534e873aef/app/Filament/Support/MediaInput.php) - [website_backend · Support/Media.php](https://gitlab.kamoorj.com/development/website_backend/-/blob/bcec6b86333006b6a6bccc6f8fc74e534e873aef/app/Support/Media.php) - [website_backend · Support/MediaRegistry.php](https://gitlab.kamoorj.com/development/website_backend/-/blob/bcec6b86333006b6a6bccc6f8fc74e534e873aef/app/Support/MediaRegistry.php) - [website_backend · Support/MediaUsage.php](https://gitlab.kamoorj.com/development/website_backend/-/blob/bcec6b86333006b6a6bccc6f8fc74e534e873aef/app/Support/MediaUsage.php) - [website_backend · Support/MediaCleanup.php](https://gitlab.kamoorj.com/development/website_backend/-/blob/bcec6b86333006b6a6bccc6f8fc74e534e873aef/app/Support/MediaCleanup.php) - [website_backend · Api/SolutionController.php](https://gitlab.kamoorj.com/development/website_backend/-/blob/bcec6b86333006b6a6bccc6f8fc74e534e873aef/app/Http/Controllers/Api/SolutionController.php) - [website · design/catalog-pages.tsx](https://gitlab.kamoorj.com/development/website/-/blob/24260dbb63eec62158083508db51fb6d7358f258/components/design/catalog-pages.tsx)