How to Add and Manage Assets in Strapi?

Adeeb Malik

Blog / How to Add and Manage Assets in Strapi?

The Media Library serves as a central hub for all your uploaded assets in Strapi. It provides two main access points for managing your media files:

  • Through the dedicated Media Library interface
  • Via the Content Manager when working with media fields

This dual-access approach ensures flexibility in how you handle your media assets within the Strapi ecosystem.

Image: Add new asset in Strapi CMS

Adding New Assets

Upload Methods

Strapi offers two primary methods for adding new assets to your Media Library:

  1. Computer Upload
    • Drag and drop files directly into the interface
    • Browse and select files from your computer system
       
  2. URL-based Upload:
    • Input URLs for remote assets
    • Support for multiple URLs (separated by carriage returns)
    • Requires clicking "Next" to proceed

Asset Configuration

After uploading, you can configure your assets with the following options:

  • Edit metadata through the edit button
  • Customize the file name
  • Add alternative text for accessibility
  • Include captions for better context
  • Add multiple assets before the final upload
  • Complete the process by clicking "Upload assets to the library"

Supported Media Types and Extensions

Image Formats

  • JPEG
  • PNG
  • GIF
  • SVG
  • TIFF
  • ICO
  • DVU

Video Formats

  • MPEG
  • MP4
  • MOV (Quicktime)
  • WMV
  • AVI
  • FLV

Audio Formats

  • MP3
  • WAV
  • OGG

Document Formats

  • CSV
  • ZIP
  • PDF
  • XLS, XLSX
  • JSON

The Media Library's comprehensive support for various file formats ensures that you can manage a wide range of media types within your Strapi application, from basic images to complex document formats.

Adeeb Malik
by Adeeb Malik
Content and Marketing Specialist

End Slow Growth. Put your Success on Steroids