Jump to main content Jump to doc navigation

Media Sources can either be assigned globally via a setting in the Media Source itself, or in an Element’s settings by referencing the Media Source Name(s). On install two new settings are added to each Media Source. If you'll want to access Media Sources from Fred, you will need to manually add these settings. NOTE: Fred does not currently check a specific user’s Media Source permissions, and only reviews the following permissions.

Media Source Settings

fred

A Yes/No setting that defines if the Media Source is globally available to Elements rendered in Fred. (defaults to no)

fredReadOnly

A Yes/No setting that locks a Media Source from being written to. (defaults to no)

Element Settings

mediaSource

ID of the Media Source to use for Finder. Multiple IDs can be passed separated by comma ,.

imageMediaSource

ID of the Media Source to use for Image fields. Multiple IDs can be passed separated by comma ,. This option overrides mediaSource.

Support the team building MODX with a monthly donation.

The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.

Backers

  • modmore
  • STERC
  • Digital Penguin
  • Jens Wittmann – Gestaltung & Entwicklung
  • Fabian Christen
  • Dannevang Digital
  • Sepia River Studios
  • CrewMark
  • Chris Fickling
  • deJaya
  • eydolan
  • Following Sea
  • Lefthandmedia
  • Murray Wood
  • Anton Tarasov
  • Stéphane Jäggi
  • Raffy
  • Snow Creative
  • A. Moreno
  • Nick Clark
  • JT Skaggs
  • Helen
  • YJ
  • krisznet
  • Richard
  • Yanni

Budget

$311 per month—let's make that $500!

Learn more