RESPONSIVE filemanager v 9.12.2

The New AMAZING file manager

Upload, manage and use your files from all your devices

Take A LookABOUT our FileManager

Please support the project

Responsive FileManager 9.12.2 is a free open-source file manager and image manager made with the jQuery library, CSS3, PHP and HTML5 that offers a nice and elegant way to upload and insert files, images and videos.
You can use it as external plugin for TinyMCE version 4.x(and older), CKEditor and CLEditor, you can also use it as a stand-alone file manager to manage and select files.
The script automatically creates thumbnails of images for the preview list and can create also external thumbnails to use in your cms or site.
It can be configured for automatic resizing of uploaded images or to automatically limit the size.
You can personalize the configuration for each folder.
You can set a subfolder as the root and change the configuration for each user, page or FileManager call.
Is compatible with multi-user mode and you can edit images with aviary editor, sorting files.

Subscribe to the Newsletter to keep up to date with news and new versions of the RESPONSIVE filemanager

- now you can pass available extensions list in url (ex. you can show only excel files)
- fixed a problem with php<5.3
- remember filter and sort after refresh
- added config toggle to show/hide filter buttons and language selection button
- fixed a problem when you click on namefile label (previously was equal to click two times)

Changes in Version 9.10.0 (2016/03/09)

- added total max size control to limit the size of all files into
source folder (you can control it in config.php) (thanks to Stephane MERCIER)
- improved the error messages (thanks to Stephane MERCIER)
- update jplayer
- fixed a incorrect closing of upload modal
- fixed lowercase on convert_spaces active and add lower_case option on config.php
- add mimetype control on upload (ex. if i renane img.jpg to img.pdf and upload to filemananger the system check the time type and converte it to img.jpg)
- fixed permission error on files and folders
- other fix

- Relative URL-s can be returned when selecting files from the filemanager: a 'relative_url' GET parameter should be
added to the request with a value of "1" when opening RFM. Otherwise returned URL-s will be absolute.

Changes in Version 9.7.1 (2014/09/06)

- Improve drag & drop : now work without refresh and work also the move to back folder

Changes in Version 9.4.0 (2014/04/02)

Detailed:- Cut/copy/pasteYou can configure the actions in config.php file and disable/ limit them if needed.When right clicking on a folder/file there will be options for copy and cut (and paste if files on clipboard and righ clicked on a file)There's icon for paste to this dir and clear clipboard after the 'new dir' iconsThey will grey out if there's nothing on the clipboard.

- Drag&dropNow you can drag n drop files/folders to other folders (this will overwrite existing files if encountered any!)

- IconsAdded new icons for the new functionsAll are legit made by me or get from free icon sites

- Code Refator- Added bunch of comments and change a lot of codes.

- Changed all $_SESSION vars to be in a separet array eg.:$_SESSION["verify"] -> $_SESSION['RF']["verify"]So now there won't be any problem with big projecfts integrating RF

- Added the lang file url to $_SESSION['RF']['language_file']Now it can be included easily

- Added a lot of new lang. lines and feedback infoNew lines added to every language (in english) so translation can go smoothly(There are places where i added %s to lang lines which will be swapped with an action name, commented out what will be inserted at runtime)

- Added timeout when closing upload tab

- Bugfixes- Corrected issue #69 Dropzone spritemap.png problemNow when loading a language it will search for the appropiate spritemaps.If none found will fallback to englishAll spritemaps should follow the language code naming eg:For hu_HU:spritemap_hu_HU.pngspritemap@2x_hu_HU.png

(might consider moving them in a separte folder in the future)

- Fixed issue #71 The uploaded file exceeds the max size allowedNow when uploading it properly check for max post sizeIt is dealt with in config.php after definning the max upload size and if it's bigger than server's ini it will revert it back to it.

Subscribe to creativesdk.adobe.com to get a free app key at My AppsNB Aviary Editor only works online; it won't work on localhost!!

Great! Your work is finished!

PS If you don't see the preview images you need to give write permission to the thumbs folder.
If you are updating from a previous version of FileManager delete the contents of thumbs folder, the script will automatically re-create the thumbnails.

!IMPORTANT: if you are using htaccess protection, make sure your $GLOBALS PHP_AUTH_USER/PHP_AUTH_USER are defined in your webserver config

You can pass this variables on TinyMCE init.
filemanager_title the title of filemanager window default="Responsive filemanager"
filemanager_sort_by: the element to sorting (values: name,size,extension,date) default=""
filemanager_descending: descending ? or ascending (values=1 or 0) default="0"

If you want full path url in tinyMCE paths you can add relative_urls: false on tinyMCE init (read tinyMCE Configuration page)
external_filemanager_path and external_plugins path must be absolute from root and must point to filemanager folder not responsivefilemanager plugin folder

Change the path in your tinymce init function in external_filemanager_path and external_plugins (the path must be a absolute path from base_url of your site and must start with / so in this example i have the filemanager folder in www.site.com/filemanager/)

If you are updating from older version (from 1 to 7) substitute your tinyMCE with new or download only the image/media/link originals folders and copy in your tinyMCE plugin folder

USE AS CKEDITOR FILE MANAGER

Copy the filemanager folder where you want in your server

Add a textarea inside your page

Include CKeditor library ans add the init script of CKEditor:

The urls must point inside your filemanager folder so change they properly.
If you want pass other config variables in the url (like language) please see the below "Get Variables list" paragraph.

and that is all, click on "Insert Image" toolbar button, browse for image(RFM), select image, Submit, and now you have image in you cleditor.

Thanks to Zoran Cindori for this plugin

USE AS STAND-ALONE FILE MANAGER

You can use normal pop-up, Bootstrap modal, iframe, FancyBox iframe, Lightbox iframe to open the FileManager with these paths:

Only open filemanager(type=0 and not set field_id):
path to filemanager../filemanager/dialog.php?type=0&fldr=

Select Image: (type=1 and set id of input text in field_id variable):
path to filemanager../filemanager/dialog.php?type=1&field_id=fieldID

Select Video: (type=3 and set id of input text in field_id variable):
path to filemanager../filemanager/dialog.php?type=3&field_id=fieldID

Select File: (type=2 and set id of input text in field_id variable):
path to filemanager../filemanager/dialog.php?type=2&field_id=fieldID

Get Variables listtype: the type of filemanager (1:images files 2:all files 3:video files)fldr: the folder where i enter (the root folder remains the same). default=""sort_by: the element to sorting (values: name,size,extension,date) default="" descending: descending? or ascending (values=1 or 0) default="0" lang: the language code (ex: &lang=en_EN). default="en_EN"relative_url: should be added to the request with a value of "1" when opening RFM. Otherwise returned URL-s will be absolute.
extensions: a json encoded array of available files extensions (ex: &extensions=["pdf",'doc'])

In addition to this simple implementation there isn't security, because every php files include first config/config.php file.

So if you want to permit access only to a logged users you can add all the controls at beginning of config.php file.

TRANSLITERATION and STRING CONVERSION

With standard configuration responsive filemanager accepts all type of characters for file and folder names (like à é & ¥..., arabian, Chinese),
if you want permits only latin charachters like A....Z a....z and 0....9, you can set to true the $transliteration variable on config.php .

SET SUBFOLDER AS ROOT AND MULTI-USER USE

You can set a subfolder as root.So you can have a root folder for each user.

The way to implement this is set the session variable $_SESSION["RF"]["subfolder"] ="subfolder/name/"

Remember that subfolder value must not have ../ ./ . inside and can't begin with /

So if you want use filemanager in a multiuser CMS you can simply create a folder for each user and set a session variable ($_SESSION['RF']['subfolder']) with the name of the user folder.

CUSTOMISE CONFIGURATION FOR EACH FOLDER (CONFIG.PHP)

In Responsive FileManager you can customise the config.php for each folder. Simply create a config.php file inside your desired folder, and set the config array only with the element do you need to change. (Don't change current_path,upload_dir,base_url,root).

You can also include an HTML text in the display folder page by simply inserting : 'folder_message'=>"html message" inside the config.php file in the folder. You can use this to specify restrictions or images resizing.

Remember that the configuration of one folder is reflected in all its subdirectories.

CROSS DOMAIN USE

STAND-ALONE FILE MANAGER

To enable cross-domain file selector, where files are hosted on one server (for example, serverA.com) and URL is being sent to another (for example, serverB.com), include crossdomain=1 in the URL.

For example, to instantiate image picker, use the following URL: http://serverA.com/[path to filemanager]/filemanager/dialog.php?type=1&field_id=fieldID&crossdomain=1

Then on serverB.com, the following code can be used to retrieve the URL after file selection is made. Please note, that the code is written for jQuery with FancyBox plug-in.

relative path from filemanager folder to thumbs folder (with final /). NB thumbs folder must not reside in the upload folder.

Parameters that you can override in all config.php files inside folders

Parameter

Example Value

Description

MaxSizeUpload

100

Max size upload limit in Mb.

default_language

en_EN

default language file name.

icon_theme

ico

the theme of icons. choose ico or ico_dark or you can cusatomize just putting a folder inside filemanager/img

file_number_limit_js

500

the filter and sorter are managed through both javascript and php scripts. If you have a lot of files in a folder the javascript script wil not cope, so the filemanager then switches to the php script. The plugin automatically switches from javascript to php when the folder contains more than the specified number of files.

show_sorting_bar

true

show or hide the sorting feature.

show_folder_size

true

show or hide the folder size in filemanager list view (very large folders greatly increase the calculation time).

transliteration

false

active or deactive the transliteration (mean convert all strange characters in A..Za..z0..9 characters).

Images configuration

image_max_width, image_max_height

800

these parameters set maximum pixel width and/or maximum pixel height for all images. if you set a maximum width or height, oversized images are converted to those limits. Images smaller than the limit(s) are unaffected. if you don't need a limit set both to 0.

image_resizing

false

activate or not Automatic resizing. if you set image_resizing to true the script converts all uploaded images exactly to image_resizing_width x image_resizing_height dimension.

image_resizing_width, image_resizing_height

800

these parameters set the dimensions of the resized image. if you set width or height to 0 the script automatically calculates the other dimension. NB Very large images may cause the script to fail unless the server's php memory and time limit configuration is modified.

set the names of any folders you want hidden. Remember: all folders with these names will be hidden (you can set any exceptions in config.php files in folders).

hidden_files

"this_document.pdf", "that_image.jpg"

set the names of any files you want hidden. remember these names will be hidden in all folders.

JAVA upload

java_upload

true

enable or disable java applets uploads

JAVAMaxSizeUpload

200

donparameter

Thumbnail for external use creation

New image resized creation with fixed path from filemanager folder after uploading (thumbnails in fixed mode).
If you want create images resized out of upload folder for use with external script you can choose this method,
You can create also more than one image at a time just simply add a value in the array.
Remember than the image creation respect the folder hierarchy so if you are inside source/test/test1/ the new image will create at
path_from_filemanager/test/test1/
PS if there isn't write permission in your destination folder you must set it

relative_image_creation

false

activate or not the creation of one or more image resized with relative path from upload folder

fixed_path_from_filemanager

array('','')

array of relative path of the image folder from the current position on upload folder

fixed_image_creation_to_append, fixed_image_creation_name_to_prepend

array('','')

name to append/prepend on filename

fixed_image_creation_width, fixed_image_creation_height

array(0,0)

width/height of image (you can leave empty if you set the other dimension)

New image resized creation with relative path inside to upload folder after uploading (thumbnails in relative mode).
With Responsive filemanager you can create automatically resized image inside the upload folder, also more than one at a time
just simply add a value in the array.
The image creation path is always relative so if i'm inside source/test/test1 and I upload an image, the path start from here

fixed_image_creation

false

activate or not the creation of one or more image resized with fixed path from filemanager folder

relative_path_from_filemanager

array('','')

array of fixed path of the image folder from the current position on upload folder

New upload method through Java applet without size limitation (Java Multiple File Upload Applet (JUpload) takes care of the limitation posed by traditional HTML upload forms by allowing you to upload a whole directory and the files within it with a single click)

Parsing special characters in all file/folder name

Incremental naming when identical files are uploaded

Automatic passing of image height and width in TinyMCE form (configurable on config.php)

- With this plugin you can also set automatic resizing of uploaded images.- Moreover you can set the permits to delete files, folder and create folder.- This version support advanced tab on image plugin- For preview img in files list the plugin NOW create a thumbnail image with low resolution!!!- Simplify the installation steps

and nowLICENSE / DOWNLOAD

You are free to use Responsive Filemanager for your personal or non-profit website projects.
You can get the author's permission to use Responsive Filemanager for commercial websites by making a free donation on below paypal button

This free donation expresses how much you appreciate my work and how much you want to support the development of the responsive filemanager project.

If you like my work or if you want commercial permission... please give me a donation to support the project