Media Source Type - File System
Last updated May 17th, 2019 | Page history | Improve this page | Report an issue
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
Budget
$306 per month—let's make that $500!
Learn moreThe 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¶
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
Budget
$306 per month—let's make that $500!
Learn more