Skip to content

Aurora 1.5 is out!

What's new →
Docs menu

Using the admin

Media library

Folders, tags, focal points, image formats and access.

One library shared by every site, organised like a file manager.

Browsing and uploading

  • Folders and breadcrumbs, with the open folder kept in the address so it can be bookmarked, and the browser's back button returns to the folder before v1.2.4. Inside a folder, the arrow beside its name goes up one level v1.2.3. Library opens a tree of every folder to jump to, and the open folder's name the folders next to it; the folders between them open with a click. A grid of cards or a list of rows. Search and tags look across every folder.
  • Folders: create, rename, move and delete them; deleting moves the contents up a level. Drag files and folders onto folders or breadcrumbs.
  • Folders among the files v1.2.5: a folder's folders are the first cards of the grid, or the first rows of the list, as on a computer. The list sorts from the toolbar. To show folders in a row of their own above the files instead, switch off Show folders among the files under Settings › Media › Media library.
  • Uploading: a dialog, or drag and drop from the desktop, with progress per file. Images, video, audio, PDF, Office documents, text and archives, up to 10 MB per image and 50 MB per other file unless the site sets other limits v1.1.0 (see Configuration). Scripts, HTML and executables are refused.
  • Tags: coloured tags shown as dots, created on the spot. Filters: type, tags, used or unused, with or without alt text, and credit, which finds every file whose credit contains a name in any capitals v1.3.8.
  • Bulk actions: move, access and delete, and set the credit or write alt text with AI for the images that have none v1.2.3, and Tag images, which has the AI assistant tag the selected images that have no tags v1.3.7. Everything is also on the right-click menu.
The Aurora media library: folders, breadcrumbs and image cards with coloured tags
The media library: folders, breadcrumbs and images with their tags.

A file's page

  • A preview with a focal point to click, which cropped sizes keep in view.
  • Title, alt text and caption per language, and credit, filled in from a photo's EXIF Artist, or Copyright, when it's added v1.2.5. Write with AI looks at the image to write the alt text, and the assistant can write it for every new image by itself.
  • Folder and tags, file details and a download, EXIF data for images and ID3 tags for audio.
  • Replace file: the file keeps its id, so every page, link and redirect that uses it keeps working.
  • Used on: every page and redirect that uses the file, tracked automatically.
  • Formats: every size made from an image with its status, regenerate one size or all, and each block's own edited version.
  • Access: limit a file or folder to roles or people, with read or read and write access. This only narrows the admin; files still show wherever pages use them.
An image's page in the media library: the preview with its focal point, alt text, caption, folder and tags
An image's page: the focal point, alt text per language, folder and tags.

Image formats

Under Settings › Media: name, handle, width, height, WebP, AVIF, JPEG or PNG, quality, and whether a format is part of responsive srcsets. Changing a format brings existing images up to date in the background. Small, medium, large, thumbnail and share image come built in.

In templates

Every file has a lasting address, /files/{id}, even after it's replaced. In Blade, show an image with its responsive sizes, the block's crop and the focal point:

Blade
<x-aurora::media :value="$data['image'] ?? null" size="md" sizes="(min-width: 1024px) 50vw, 100vw" />

Or get one size's address with AssetLibrary::url($value, 'md'). The media disk comes from Spatie Media Library (media-library.disk_name); local and S3 both work.