Media manager for PicoCMS based on Pico-Editor-Plugin.
- Clone plugin or unzip archive in your plugins directory.
- Generate your hash into
.passwd
or replace the call tofile_get_contents
by your hash string inconfig.php
. - Visit http://www.yoursite.com/admin and login
The file config.php
contains different extra configuration.
To generate a hash of yourpassword
with sha128
with php in command-line:
php -r 'echo hash("sha128", "yourpassword");'
- Switch from EpicEditor to Lepture's editor based on CodeMirror
- Debug the editor_XXX.html pages (page, medias and tree): especially the bug with selecting media directory
- Have meta images (medium/thumbnail versions into a different directory to remove ambiguities in directory tree (or use .medium/.thumbnail/.version)
- Button to reprocess images (medium + thumbnail generation) in a directory
- Provide meaningful examples in
config.php
especially about image versions
In-place editing is probably not a good idea as we may want to use EpicEditor. Then we may want to extract the new components:
- Media manager
- File manager
So that we can have the new popup page editor that also provides access to the medias and files. This means using twig templates and including them where they need to be reused. The javascript code may need refactoring.
Released under the MIT license.