{"action":"created","issue":{"url":"https://api.github.com/repos/servocoder/RichFilemanager/issues/82","repository_url":"https://api.github.com/repos/servocoder/RichFilemanager","labels_url":"https://api.github.com/repos/servocoder/RichFilemanager/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/servocoder/RichFilemanager/issues/82/comments","events_url":"https://api.github.com/repos/servocoder/RichFilemanager/issues/82/events","html_url":"https://github.com/servocoder/RichFilemanager/issues/82","id":201173955,"number":82,"title":"Selecting image does not close window after selection","user":{"login":"justingit","id":39739,"avatar_url":"https://avatars.githubusercontent.com/u/39739?v=3","gravatar_id":"","url":"https://api.github.com/users/justingit","html_url":"https://github.com/justingit","followers_url":"https://api.github.com/users/justingit/followers","following_url":"https://api.github.com/users/justingit/following{/other_user}","gists_url":"https://api.github.com/users/justingit/gists{/gist_id}","starred_url":"https://api.github.com/users/justingit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justingit/subscriptions","organizations_url":"https://api.github.com/users/justingit/orgs","repos_url":"https://api.github.com/users/justingit/repos","events_url":"https://api.github.com/users/justingit/events{/privacy}","received_events_url":"https://api.github.com/users/justingit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-17T04:30:22Z","updated_at":"2017-01-17T08:06:21Z","closed_at":null,"body":"Hello! I'm trying to integrate RichFilemanger with CKeditor. I have a lot of experience using Filemanager, but there seems to be some differences.\r\n\r\n First, when you select a file from RichFileManager, the window that RichFileManager is in does not close itself, so it's difficult to know if things are selected. \r\n\r\nSecondly, if you do self-close that RichFileManager window, I do not get the actual URL to the image, but rather something like this, \r\n\r\nhttp://dancingindigochild.local/RichFilemanager/connectors/php/filemanager.php?mode=readfile&path=%2Fhum.jpg&time=1484627177072\r\n\r\nWhen all I want is this, \r\n\r\nhttp://dancingindigochild.local/file_uploads/hum.jpg\r\n\r\nSomething I'm doing strange in my config? In the php connector, I've only changed two things: \r\n\r\nSet, \r\n\r\n        \"serverRoot\" => false,\r\n\r\nAnd set a absolute path for, \r\n\r\nfileRoot\r\n\r\n\r\n![preview](https://cloud.githubusercontent.com/assets/39739/22007814/ed947d22-dc32-11e6-9337-7b4e40fa8d53.jpg)"},"comment":{"url":"https://api.github.com/repos/servocoder/RichFilemanager/issues/comments/273047229","html_url":"https://github.com/servocoder/RichFilemanager/issues/82#issuecomment-273047229","issue_url":"https://api.github.com/repos/servocoder/RichFilemanager/issues/82","id":273047229,"user":{"login":"servocoder","id":1310273,"avatar_url":"https://avatars.githubusercontent.com/u/1310273?v=3","gravatar_id":"","url":"https://api.github.com/users/servocoder","html_url":"https://github.com/servocoder","followers_url":"https://api.github.com/users/servocoder/followers","following_url":"https://api.github.com/users/servocoder/following{/other_user}","gists_url":"https://api.github.com/users/servocoder/gists{/gist_id}","starred_url":"https://api.github.com/users/servocoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/servocoder/subscriptions","organizations_url":"https://api.github.com/users/servocoder/orgs","repos_url":"https://api.github.com/users/servocoder/repos","events_url":"https://api.github.com/users/servocoder/events{/privacy}","received_events_url":"https://api.github.com/users/servocoder/received_events","type":"User","site_admin":false},"created_at":"2017-01-17T08:06:21Z","updated_at":"2017-01-17T08:06:21Z","body":"RichFilemanager was reworked a lot and includes a lot of back incompatible changes. However the wiki article of \"[How to open the Filemanager from CKEditor in a modal window](https://github.com/servocoder/RichFilemanager/wiki/How-to-open-the-Filemanager-from-CKEditor-in-a-modal-window)\" works great, you can check the [live demo](http://fm.devale.pro/demo/index.html).\r\n\r\nAs for the second problem. Once you set `serverRoot` to `false` RFM interprets this as your images located outside server document root, where the RFM is located itself, so it's unable to autodefine url to your user files. All this stuff described in a [Specify user folder, configuration cases](https://github.com/servocoder/RichFilemanager/wiki/Specify-user-folder%2C-configuration-cases#configuration-examples) wiki article. In case your files may be accessible with a direct url, but located outside server root you can set `viewer`.`absolutePath` to `true` and setup `viewer`.`previewUrl` configuration options in your JSON configuration file to obtain direct url, see [Configuration-options](https://github.com/servocoder/RichFilemanager/wiki/Configuration-options#the-viewer-section) wiki article."}}
{"actor":{"display_login":"servocoder"}}