Skip to content

Using Media Library

This guide is for editors who manage images and files and owners deciding how to keep the library tidy. Every step uses the labels you see on screen.

  1. Go to Media.
  2. Upload your images or files.
  3. Put them into a folder so they are easy to find later.
  4. Repeat for any related files you want grouped together.
  1. Open the image in the library.
  2. Fill in its Alt text: a short description of what the image shows.
  3. Save. Alt text helps visitors who use screen readers and improves search.
  1. In Media, use search to look for the file by name.
  2. If it already exists, reuse it rather than uploading a copy.
  1. Open the media item.
  2. Replace its file with a new version.
  3. Save. Pages that use it pick up the new file.
  1. While editing a page or widget, click an image field.
  2. The media picker opens.
  3. Choose an existing image, or upload a new one, then save the page.

An editor selects media through the picker embedded in a form.

  1. Open System > Media health.
  2. Review the table’s filename, size, usage count, issue, type, and last-used columns.
  3. Filter by Missing alt text, Stale asset, or Unused asset to focus the report.

An administrator reviews media health status for stale, missing, or incomplete assets.

  1. On System > Media health, filter the report to the issue you need to resolve.
  2. For missing alt text, use Edit metadata on the health row. This requires both global health-view access and the configured media-update permission; a global role alone does not grant this write. Read-only viewers can inspect the row and hand it to an authorised media editor. Use the main Media Library for other metadata or replacements.
  3. If you have destructive access, select confirmed unused records and use Move unused media to quarantine. That action hides records that nothing references (owner fields, content graph, rich text and widget settings) and keeps their files for the quarantine period. The scheduled capell:media-purge-quarantined command then deletes them for good, and restores any that became used again.

An administrator scans individual media health rows and their remediation state.

  • A simple folder structure and an alt-text habit. Agree where things go and that every image gets alt text before the library grows large.
NeedEnable
Keep a growing library findableMore folders, named by topic or section
Better accessibility and SEOAlt text on every image
  • Don’t over-organise on day one. Start with a few clear folders and split them as the library grows.
RoleFirst useful screen
EditorMedia: upload, organise, and add alt text
Site ownerSystem > Media health: review missing-alt, stale, and unused assets
What you seeWhat it meansWhat to do
I have two copies of the same imageA duplicate was uploaded instead of reusedSearch before uploading; review each asset’s use before removing an unneeded copy
An image looks wrong after I replaced itThe page is showing a cached versionWait a moment, or ask whoever manages caching to clear the page
A screen reader skips my imageIt has no alt textOpen the image and add Alt text
I can’t find an image I uploadedIt is in a different folder, or named unclearlySearch by name, or rename it so it is easier to find

Interactive picker, library create and bulk uploads use the public disk and public visibility unless overridden through capell.media_library.default_disk and capell.media_library.default_visibility. Set these in the published config/capell/media-library.php; the application filesystem default may remain local. With default_disk left null, an explicit CURATOR_DEFAULT_DISK or a default_disk entry in the host’s config/curator.php wins, including an explicit local matching FILESYSTEM_DISK. Without an explicit choice, interactive uploads use public. Explicit Curator facade configuration and field/panel settings take precedence. Private uploads retain private filesystem visibility. addMediaFromUploadedFile() continues to choose public or local from visibility.

Curator’s signed /curator/{path} route reads the stored media row’s disk. Keep CURATOR_GLIDE_TOKEN configured; an unsigned URL is rejected with 403. Public thumbnails use signed permanent URLs. Private thumbnails use signed expiring URLs; permanent URLs cannot serve private rows. Custom Glide serverConfig() source settings must read the disk used for the media rather than assume storage/app/public.

Changing upload defaults does not move existing files or rewrite rows. Saved picker selections retain their recorded disk, including private local media; new selections are limited to the configured picker disk. The existing command php artisan capell:media-migrate-to-curator --dry-run previews migration from Spatie rows to Curator owner foreign keys; remove --dry-run to apply it. It preserves source disks and visibility and does not relocate existing Curator files. Existing private assets therefore require an explicit, separately reviewed relocation if they need to become public; changing a default never publishes them.