This article is a continuation of the
first version of the file manager .
FCKfsys is a file manager for the visual editor for web FCKeditor. I like everything in FCKeditor except the file manager. So you need to fix it yourself.
Details of the plugin on
my site and there you can see
an example of work .
It looks like a file manager with thumbnails:
')
UPD: Improvements are made, now we need to work on the interface. In my opinion, the guide should be on Windows Explorer so that it is familiar. That is a little hair you need.
What changed?
Here are the changes I considered sufficient:
- Russified interface.
- When folders with Russian names are added and files with Russian names are uploaded, they are transliterated.
- Folders have their size.
- You can delete files and folders.
- When uploading pictures to the server, you can change their size.
- The resource type Image (Images) displays their preview versions.
The functionality in paragraphs 4, 5 and 6 can be disabled in config.php.
To resize images, use imagemagick (better quality) or, if it doesn’t, gd2.
Configuring the file manager FCKfsys 2.0
The following settings were added:
// true/false
$Config['Delete'] = true;
//
// imagemagick gd2
// , false
$Config['ThumbCreate'] = true; //
$Config['ThumbList'] = true; //
$Config['ThumbListSize'] = 100; // ,
And to store preview versions, a folder is set at the end of the configuration file, set it and create (!!!) the corresponding directory on the server:
$Config['AllowedExtensions']['ImageThumb'] = $Config['AllowedExtensions']['Image'];
$Config['DeniedExtensions']['ImageThumb'] = $Config['DeniedExtensions']['Image'];
$Config['FileTypesPath']['ImageThumb'] = $Config['UserFilesPath'] . 'imageThumb/' ;
$Config['FileTypesAbsolutePath']['ImageThumb'] = ($Config['UserFilesAbsolutePath'] == '') ?
'' : $Config['UserFilesAbsolutePath'].'imageThumb/' ;
Resources
fckfsys2_fckeditor263.zip (1.1 MB) - FCKeditor 2.6.3 with the file manager FCKfsys 2.0.
fckfsys2_filemanager.zip (103 kB) - FCKfsys 2.0 file manager works with FCKeditor version 2.6.3, it may not work with later versions.