# Upload and reuse files in the media library

Source: https://knowledge.intractive.app/en/articles/media-library

The media library holds every file you upload to a project: images, videos, audio, PDFs, subtitles and fonts. Upload a file once and you can reuse it in any content block in that project.

## Upload files

1. Open **Media** under **Project** in the project menu.\
   \[screenshot: the media library with the Upload button and the type filter in the sidebar\]
2. Click **Upload**.
3. Choose the files you want to add.

You can also upload from any content block that accepts a media file. Either way, the file is saved to the project's media library. Large files upload in the background while you keep working.

The **Upload** button in the media library accepts these files:

| File | Formats | Maximum size |
| --- | --- | --- |
| Images | JPG, PNG, GIF, WebP | 10 MB |
| SVG images | SVG | 1 MB |
| Videos | MP4, MOV, WebM | 100 MB, and at most 5120 pixels wide |
| PDFs | PDF | 10 MB |
| Audio | MP3, M4A | 10 MB |

You can pick a song from the media library with a content block's music button. You can also upload a song from the music button itself. See [Music and sound](https://knowledge.intractive.app/en/articles/music-and-sound).

The **Upload** button doesn't take subtitles or fonts. They come in through the field that uses them:

- SRT or VTT (1 MB) through the **Subtitles** field of a **Video** block.
- TTF, OTF, WOFF or WOFF2 (1 MB) through the **Custom** font in the brand kit.

If a file is over the limit or in the wrong format, the upload is refused with a message such as **Upload failed: This file is too big to upload. The maximum size for images is 10MB.** or **Invalid file. The following extensions are accepted: ...**. A video that is too wide gets its own message.

## Find a file

1. Type a name or a tag in the search box.
2. Optional: narrow the results with the type filter in the sidebar: **Images**, **Videos**, **PDFs**, **Audio**, **Subtitles** or **Fonts**.

When you pick a file from inside a content block that only takes some kinds of files, you only see the matching types.

## Name and tag files

Open a file's details to rename it, tag it and add alt text. Nothing is translatable per language.

- **Rename**: type the new name and press Enter.
- **Tags**: add a tag with **Add custom tag...**. You can then filter on tags.
- **Metadata**: set the **Alt text**. For a video you also see **Video transcription**.

A project's media library shows only that project's files. Files the organisation owns are in **Media** of the organisation workspace, when the workspace is switched on. They don't show in projects.

Tag files as soon as you upload them. Searching for a tag such as `logo-2024` later is much quicker than scrolling.

## See where a file is used

1. Click a file in the media library to open its details.
2. Look under **Content using this asset**.\
   \[screenshot: a file's details with Content using this asset showing Used in 3 content blocks\]

You see how many content blocks use the file, for example **Used in 3 content blocks**. A file no content block uses shows **Asset is unused**. This helps you find old uploads to clean up.

## Work with many files at once

1. Tick the checkbox of the first file. Clicking a file itself always opens its details.
2. Tick the other files you want, or hold Shift and click to select a range.
3. Optional: in the list view, tick the checkbox in the header to select every file that's loaded.\
   \[screenshot: the media library with several files ticked and the bulk actions showing\]
4. Choose what to do with the selected files:
   - **Select Tag**: add one or more tags to every selected file. It only adds tags.
   - **Delete selected**: remove every selected file. A file that a content block still uses is refused and stays.

> [!TIP]
> Tip: when you clean up, filter the library to one tag first and then tick the header checkbox in the list view. That way you only touch the files you meant to.

## Copy files from another project

Each project has its own media library, and you only see the files of the project you're working in. You can copy files from another project in the same organisation, so nobody has to upload them again. You see **Copy from project**. If you pick a project you can't open, Intractive tells you.

You need the admin role in the project.

1. Open **Media** in the project that should receive the files.
2. Click **Copy from project**.
3. Pick the project to copy from.\
   \[screenshot: the Copy from project window listing files, one marked Already here\]
4. Tick the files you want.
5. Click **Copy selected**.

To take everything, click **Copy all media** instead. Before it copies everything, Intractive tells you how many files that is and how many it will skip.

Copied files keep their name and tags, and work like any other file in the library. Files the project already has are marked **Already here** and skipped, so you can copy again later to pick up new files.

After copying, the two libraries stay separate. Renaming, tagging or deleting a file in one project doesn't change the other.

## Replace a file with a new version

You can't replace the file of an existing item in the media library.

1. Upload the new version.
2. Open each content block or page that should show it, and pick the new file there.
3. Check under **Content using this asset** whether any content still uses the old file. A file that's still in use can't be deleted, so your blocks are never emptied.
4. Open the old file's details and click **Delete**, next to **Rename**.
