Extras catalogue
mediaFal
Latest release 13 days ago (November 17, 2026).
mediafal
About
A file abstraction layer media source for MODX 3. Each file is stored once on a fixed path, editors organise files in virtual folders, so renaming or moving never breaks links. Tracks where every file is used, protects used files from deletion, keeps alt/title per language and adds a media library, resource attachments, a multi-file TV with crop and migration with 301 redirects.
Installation & usage
Requirements: MODX 3.0+, PHP 8.1+, GD or Imagick (Imagick recommended).
Installation
Install through Package Management. On the first install a form offers (all checked by default):
- create a FAL media source Images (
assets/media/images/) and Files (assets/media/files/), - make the Images source the default media source,
- hide
assets/media/in the core Filesystem source (recommended), so nobody uploads past mediaFal.
After installation
- Cron: add a nightly job for the full usage scan and trash clean-up:
php core/components/mediafal/cli/scan.php. Without cron, run Extras > mediaFal: scan usage from time to time. - Media sources: set the media source of your TVs, ContentBlocks fields and rich text editors to a FAL source.
- Existing files: Media > Migration to mediaFal moves them into a FAL source, rewrites the links in content and TVs and adds 301 redirects.
- Attachments: enable the tab per template (template tab Attachment groups).
- Output:
[[falFiles]]lists the attachments of the current resource;[[falFiles? &filter=`images`]]shows images only.
Test on a copy of your site first and keep a backup of the database and the assets/ folder.
Full documentation: https://modx.tend.si/mediafal/
At a glance
MODX 3 compatibility unknown. Based on our testing and community reports where available.
- Developer theuros
- Latest release November 17, 2026 (13 days ago)
- First seen in SiteDash November 17, 2026 (13 days ago)
- License GPLv2
- MODX support 3.0 – 100.0
| Changelog | |||
|---|---|---|---|
| MODX.com |
1.0.0-beta3 |
November 17, 2026
13 days ago |
|
|
<h4>New</h4>
<ul><li><strong>File metadata API</strong> for other extras (Image+, Agenda …): <code>getFileMeta()</code>, <code>hasFileMeta()</code> and <code>setFileMeta($path, $meta, $culture, $overwrite)</code> on the FAL media source. The path can be the source path, the URL or a full URL.</li> <li><strong>Event <code>OnMediaFalFileMoved</code></strong> fires when a file URL is renamed or the migration rewrites references, so extras with their own tables can update their stored paths.</li> <li>The crop window, the <code>falfile</code> TV and the “Edit metadata” window now use the standard MODX manager style.</li> </ul><h4>Fixes</h4> <ul><li><strong>Uninstall</strong> converts FAL media sources to file system sources on the same folder, so links, TVs and <code>default_media_source</code> keep working. Installing mediaFal again switches them back.</li> <li><strong>Uploads:</strong> two concurrent uploads of the same file no longer create a duplicate, and a file is removed from disk again if it cannot be added to the index.</li> <li><strong>Blocked extensions:</strong> executable extensions (<code>php3</code>–<code>php8</code>, <code>phtml</code>, <code>phar</code>, <code>asp</code>, <code>jsp</code>, <code>shtml</code> …) are always blocked.</li> <li><strong>Trash:</strong> a file that content still references cannot be deleted permanently from the trash.</li> <li><strong>Upload folders:</strong> two resources with the same aliases in different contexts no longer share or take over an upload folder.</li> <li><strong>Migration:</strong> reserved old paths are resolved through symlinks, and “Finish” never moves a live FAL file.</li> <li><strong>Performance:</strong> faster 301 lookup for missing files and faster folder binding on upgrade.</li> <li><strong>Permissions:</strong> <ul><li>Attachments and file details only show files from sources the user may list.</li> <li>Attachment groups are validated.</li> <li>The template tab checks the template's access policy.</li> </ul></li> </ul><p>Full changelog and documentation: <a href="https://modx.tend.si/mediafal/" rel="nofollow noreferrer noopener" target="_blank">modx.tend.si/mediafal</a></p> |
|||
| MODX.com |
1.0.0-beta2 |
November 10, 2026
20 days ago |
|
|
<p>Initial release.</p>
|
|||
|
No matching releases. |
|||