mirror of
https://github.com/directus/directus.git
synced 2026-01-30 14:58:07 -05:00
1.6 KiB
1.6 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.
- Navigate to the File Library
- Click on the "Create Item" (+ icon) button located in the header
- 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
- Navigate to Settings > Project Settings
- Scroll to the Storage Asset Presets field
- Click Add a New Item
- Enter a unique Key for the preset
- Enter the Fit, Width, Height, and Quality for the preset
- Click the Save action button in the header
Downloading an Original File
The File Library and the Image and File interfaces all include buttons to download the original copy of a file.
- Navigate to the File Library
- Click a file to open it's detail page
- Click the download button in the top right.
Editing Images
The detail page for a file contains an image editor you can use for some basic editing like rotating, cropping, or mirroring the file.
- Navigate to the File Library
- Click a file to open it's detail page
- Click the edit button in the top right to open the image editor
- Make your changes and hit save in the top right to save the updates to the file