What is it?
A very simple plugin that applies the slug filter on files uploaded to OctoberCMS' Media Manager.
It solves the issue of white spaces and special characters in filenames.
How it works
Just install the plugin and it will start working straight out of the box - no configuration needed or required (at least not in this release)
Once installed, the plugin will "automagically" rename any file you upload to your Media Manager to a "slug version" of that name.
Examples
- If you upload
myfile.jpg
to Media Manger, the resulting file will bemyfile.jpg
- If you upload
my file.jpg
to Media Manger, the resulting file will bemy-file.jpg
- If you upload
my filé.jpg
to Media Manger, the resulting file will bemy-file.jpg
Points to consider
This plugin does not convert existing files in your Media Manager, it only processes new files, so if you have a bunch of oddly named files, you will either need to download them and upload them again or solve the problem by manually renaming them.
At the moment there is no documentation as this is a very simple and straight forward plugin.
-
Noly Bom
Found the plugin useful on 18 Aug, 2020
Thank you! I needed that! Should actually be a core function.
-
1.0.1 |
First version of MediaManagerFix Aug 07, 2020 |
---|