Jump to main content Jump to doc navigation

The File System Media Source Type

This Source Type allows you to browse the file system your MODX installation resides on.

Available Properties

Name Description
basePath The file path to point the Source to. If relative, the path relative to the MODX base path.
basePathRelative If the Base Path setting above is not relative to the MODX install path, set this to Yes.
baseUrl The URL that this source can be accessed from. If relative, the URL relative to the MODX base URL.
baseUrlRelative If the Base URL setting above is not relative to the MODX install URL, set this to Yes.
allowedFileTypes If set, will restrict the files shown to only the specified extensions. Please specify in a comma-separated list, without the .
imageExtensions A list of file extensions that can be made into thumbnails. Default Value: jpg,jpeg,png,gif
thumbnailType When a thumbnail is displayed, the type of image it will be rendered as. Default Value: png
thumbnailQuality The quality of the rendered thumbnail, on a scale from 0-100. Default Value: 90
skipFiles A comma-separated list of filenames to skip when browsing the source. Default Value: .svn,.git,_notes,nbproject,.idea,.DS_Store

See Also

  1. Media Source Type - File System
  2. Media Source Type - S3

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.


  • modmore
  • Jens Wittmann – Gestaltung & Entwicklung
  • Digital Penguin
  • eydolan
  • deJaya
  • Following Sea
  • Nick Clark
  • Lefthandmedia
  • YJ
  • Sepia River Studios
  • Murray Wood
  • Dannevang Digital
  • Richard


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

Learn more