Files
directus/docs/guides/files.md
Rijk van Zanten 817ccf3620 Overhaul docs (#3951)
* Add Quickstart Guide

* Update installation

* Remove unused files

* Update support/backing

* Tweaks in concepts

* Setup file structure for API reference 2.0

* Setup page layout for reference

* Add clean-urls plugin

* getting started updates

* Finish authentication rest

* getting started updates

* Render stylus in 2 spaces

* Various

* Various

* Finish activity docs

* Add collections reference

* Add extension reference

* concepts updates

* Fields/tweaks

* Add files doc

* Add revisions

* concepts docs

* More api reference

* Finish rest api reference (finally)

* initial concepts

* More things

* Add assets api ref

* Move sections from file to assets

* Add environment variables

* contributing docs

* Add field transforms page

* Left align table headers

* concept links

* Add API config

* Fix mobile nav

* Add migrating a project

* doc link fixes

Co-authored-by: Ben Haynes <ben@rngr.org>
2021-02-05 18:51:54 -05:00

1.2 KiB

Files

Directus includes a full-featured Digital Asset Management (DAM) system, complete with different Storage Adapters. Learn more about Files.

Uploading a File

There are many ways that a file can be uploaded into Directus via the App. We'll cover the primary method below, but keep in mind that files can also be added directly through different interfaces.

  1. Navigate to the File Library
  2. Click on the "Create Item" (+ icon) button located in the header
  3. Upload the file by:
    • Dragging a file from your desktop to the modal
    • Click the modal area to manually select a file from your device
    • Clicking the "..." icon and choosing "Import from URL"

Creating a Thumbnail Preset

  1. Navigate to Settings > Project Settings
  2. Scroll to the Storage Asset Presets field
  3. Click Add a New Item
  4. Enter a unique Key for the preset
  5. Enter the Fit, Width, Height, and Quality for the preset
  6. Click the Save action button in the header

Downloading an Original File

TK (download button)

Requesting a Thumbnail

TK

Editing Images

TK (image editor on file detail page?)