Skip to Content

Managing assets on the Media page

This article explains where assets live in Prepr and which actions you can perform on them.

Introduction

You can find all your digital assets in one place in Prepr using the Media page. This makes it easy to access, view, and manage your assets.

Developer note
With the Prepr assets mutation API, you can upload, update, and delete assets in batches, or apply image transformation options.

You can directly upload, edit, download, replace, delete, organize, and find assets from the Media page. For Mux videos, you can also replace thumbnails and add subtitles. Let’s dive into each of these actions in more detail.

Uploading assets

To upload an asset, follow the steps below.

Drag and drop assets into media library

  1. In the Media page, simply drag and drop the asset/s directly from your local drive.

  2. Or at the top of the Media page, click the Upload asset button to open your file explorer and choose the asset/s you want to upload and click the open button.

    Upload asset button example

You’ll see the progress of the assets in each thumbnail while they’re uploading.

  1. If any required fields are not filled during the upload, click the Continue button to enter the required values. Click the Add x asset(s) button to save the changes.

    Fill required Asset text field example

Once done, you can then click the thumbnail of the assets you want to view.

You can also upload an asset directly in your content item. Check out the using assets in content items guide for more details.

Editing assets

To edit a specific asset, go to the Media tab and click the thumbnail of the asset to open it.

You can update some of the asset fields below directly in the Asset page.

Asset details

  • Internal name - This field is required and is used to enter the Title of the asset.
  • Description - This optional field is used by editors to describe the asset.
  • Author - This optional field can be used to enter the name of the photographer or the visual designer of the asset.
  • Additional fields - Any additional fields can be added to the Asset model, such as Alt text. For more details, check out the Asset model doc.

    If enabled, you can AI generate text for these fields. Check out the AI image text guide for more details.

  • Tags – Allows you to add one or more tags to an asset.
  • Folders – Allows you to group assets into folders.
  • Used in - The list of all content items that use this asset.

To edit the asset details, simply update the applicable fields and click the Save and close button.

The Description field is recommended for internal use. To describe your assets in a web application, use the Caption feature.

Developer note
If you want to add information from the Description field to your web application, refer to the GraphQL API reference.

Hover over the File info text to see the asset metadata such as the file type.

Asset file info example

Click the icon to copy one of the following data values generated when this asset was uploaded.

Generated data examples

  • Optimized URL – The URL you can use to include the asset in your front end.
  • Playback ID – The public Mux Playback ID for videos.
  • Download URL – The URL you can use to download an original asset file.
  • Asset ID – The unique identifier of an asset you can refer to in API requests.
  • Reference ID - The unique internal asset identifier, for example an ID from an external system.

Multiple locale assets

When localization is enabled in the Asset model, additional fields will be available for each locale allowed in your environment.

Example asset - multiple locale field

For more details on the setup, check out the Asset model doc.

Downloading an asset

In the Asset page, you can download this asset to your local storage, by clicking the button.

Download an asset

The original file will be saved to your default download folder.

Replacing an asset

In the Asset page, you can replace an existing file with a new one from your local storage by clicking the button.

Replace an asset

You can only replace an asset with the same file type — for example, images with images, videos with other videos, and so on.

Deleting assets

In the Asset page, you can delete an individual asset if you no longer need it, by clicking the icon and choosing the Delete option.

Delete an asset

In the confirmation dialog window, click the Yes, delete button to confirm the delete.

To prevent broken web pages, you cannot delete assets that are used in content items.

You can also delete multiple assets by following the steps below.

  1. Go to the Media tab and select assets by hovering over each thumbnail and clicking the icon. To select all assets, click the icon in the top action menu.

  2. In the top action menu, click the icon to delete the selected assets.

    delete multiple assets

  3. In the confirmation dialog window, click the Yes, delete button.

You need special permissions to delete multiple assets at a time. To get this access, request your administrator to link your profile to a user role with the Content → Bulk update permission enabled.

Organizing assets

In Prepr, you can organize your assets in a way that works for you. For example, choose to group assets into folders, add tags, or do both for better categorization and precise search.

Folders

A Folder contains media files grouped by specific attributes and includes all types of assets. It can be a group of profile pictures, banners, stock photos, etc. Let’s look at how to organize assets using folders in more detail.

Create a folder of assets

To create a folder, follow the steps below.

  1. Go to the Media page.

  2. Under the Folders section on the left, click the + Add folder link.

    Add a collection and assets

  3. Enter the title for a folder and click the Add button to confirm.

  4. You can then add assets to the folder directly by choosing the assets and clicking the Add x assets button, or by clicking the Upload assets button to upload new assets.

    add assets to folder

  5. For existing folders, you can simply select assets to drag and drop them into the folder directly.

    Add assets to collection

  6. Or you can add assets directly in the folder, by clicking it to open it. From here, click the Add assets button to open the Media browser.

    a. In this window, you can then select and drag the assets you want to add to the folder or select the assets and click the Add x assets button.

    b. If the images you want to add to the folder are not yet uploaded, click the Upload assets button to upload new assets and add them to the folder.

To add just a single asset to a folder in the asset detail page.

  1. In the Media page, click the thumbnail of an asset to open it.

  2. At the bottom of the Asset detail page, click the + Add to folder link in the Folders section.

  3. Choose a folder from the drop-down menu.

  4. To remove the asset from the folder, simply click the icon.

  5. Click the Save and close button to apply the changes.

Update the folder title

To update a folder title, under the Folders section on the left, hover over the folder you want to edit. Then click the icon and choose the Edit folder option.

edit folder

In the dialog window, enter a new title and click the Save button.

Delete a folder

To delete a folder, under the Folders section on the left, hover over the folder you want to delete. Then, click the icon and choose the Delete folder option. In the confirmation window, click the Yes, delete button.

When you delete a folder, the assets are removed from the folder, but not deleted.

Tags

A Tag is a meaningful label you can assign to your assets to differentiate between them while filtering.

To tag a single asset, follow the steps below.

Asset tags

  1. In the Tags section, choose an existing tag or type a new one.

  2. Click the Save and close button to apply the changes.

That’s it. You have organized your assets in the Media Library. Now it’s easier to find the right one. Let’s see how to do this in the next paragraph.

Bulk actions on assets

In some cases you may want to perform certain actions on multiple assets at once. To view and trigger bulk actions, go to the Media tab.

Hover over the assets and select the checkboxes for the assets on which you want to perform the bulk action.

Example assets bulk actions

To view assets more easily for certain bulk actions, you can click the icon to change from the default Grid view to the List view.

List view

Edit

To edit multiple assets at a type, select the checkboxes for the assets you need to edit and click the icon.

Bulk Edit assets example

When you finish editing one asset, click the Save and next asset button to open the next asset. Continue editing until the last asset, then click the Save button.

Add to folder

You can add multiple assets to a folder by selecting the checkboxes for the assets you need to group and click the icon.

Add to folder example

Select the folder from the dropdown list and click the Save button.

Tag

To tag several assets at once, follow the steps below.

  1. Go to the Media page and in the All assets view, select the assets you want to tag by hovering over each thumbnail and clicking the icon.

  2. In the top action menu, click the icon.

    Tag multiple assets

  3. Choose an existing tag or type a new one.

  4. Click the Add tags button.

Remove from folder

You can remove multiple assets from a folder, by first clicking the folder name to open it and view the assets in that folder. Select the assets you want to remove by hovering and clicking the icon on each of the thumbnails.

Click the icon in the top action bar to remove the assets from this folder.

Remove multiple assets from a collection

Click the “Yes, remove” button to confirm.

Delete

To delete multiple assets at once, follow the steps below.

  1. Go to the Media page and in the All assets view, select the assets you want to tag by hovering over each thumbnail and clicking the icon.

  2. In the top action menu, click the icon.

    Delete multiple assets

  3. Click the “Yes, delete” button to confirm.

Finding assets

Prepr gives you multiple search and filter options to find the assets you need with ease:

  • Search the assets by the asset title or keywords in the asset description.
  • Filter the assets by Asset type, Tags, Created on date, or the Unused checkbox.
  • You can also filter assets by enumeration field values in the Asset model, for example, to find a specific license holder.

Filter and search assets

Replacing video thumbnails

By default, a thumbnail image is taken from the middle of the video based on the Mux Playback ID. Still, you can set a custom video thumbnail in Prepr as follows:

  1. Go to the Media page and click the thumbnail of the video asset that you want to edit.
  2. On the asset detail page, hover over the thumbnail and click the icon.
  3. Choose an image file to replace the thumbnail.

Replace thumbnail

Developer note
You can retrieve a video thumbnail using the cover attribute in your API request. Check out the GraphQL API reference for more details.

Adding video subtitles

You can add subtitles to your Mux videos in Prepr to provide multilingual support to your web app visitors and extend the web app accessibility.

The Subtitle feature is only compatible with the Mux web player. Read more in the Mux documentation .

To add subtitles, follow the steps below.

  1. Go to the Media page and open the video file to which you want to add subtitles.
  2. On the asset detail page, click the + Add Subtitle link.
  3. Choose a locale, and upload either an SRT or WebVTT file containing the subtitle information.

Prepr will automatically generate a subtitle URL and add it to the video in Mux.

Add subtitle

There’s no limit on the number of subtitle files you can include in your video asset. Each subtitle file will be stored as an individual file asset in Prepr.

Learn more on how to add videos to your web app.

Last updated on