Discover the powerful features of Directus Files, a comprehensive Digital Asset Management system that simplifies file storage, organization, and transformation within your Directus projects.
Speaker 0: Directus files aggregate all assets within your Directus project into one consolidated library. It is a full featured digital asset management system for storing, organizing, browsing and transforming your files. By default, director stores all uploaded files locally on disk. However you can also configure directors to use any AWS S3 compatible storage, Google Cloud storage, Azure storage, Cloudinary or Superbase. Each file managed by Directus also corresponds to an item in the Directus file system collection.
Which provides a unique for each item and additional metadata. Folders in directors files can be used to organize assets within the platform, but folders are virtual and aren't mirrored within the storage adapter. As well as organization, folders can be used within access control settings to limit a user's ability to create, read, update, and delete files. The full file tree can be used so virtual folder hierarchies can reflect a user's permission. Each file in your directors project has a number of additional system fields that can be used for management.
Any additional metadata directors was able to scrape from the file will also be stored. For images, this includes exif, I iptc and icc information. From within the file detail page, metadata can be seen and edited including manual cropping and setting a focal point for cropping via API. You can access files via URL in your own application by using the following structure. Being sure to provide your directors project URL and the specific file uuid that is shown in the data studio.
And there's lots we can do with this url. We can provide an optional file name after the id to optimize for search engines. And directives provides out of the box asset transformations, allowing for cropping with width, height and fit parameters. A specific quality and format can also be requested along with other transformations offered by the node sharp library such as blurring, flipping and re coloring. Once an asset is transformed with all of the transformation parameters for the first time, it is stored and will not need to be transformed again.
Meaning that subsequent loads should be quicker and more performant. You can also save combinations of transforms into what we call storage asset presets and then apply them just by using a key when accessing the image. Director's files is super powerful. And when combined with several of our interfaces that are both built in and provided via the director's marketplace, you have a super rich digital asset management system for any project to your building.