file - Update image path in CKEditor after being received from FileManager -


i using ckeditor fileman file manager handeling file uploads. works fine on local host , there small problem on production environment haven't been able solve playing around configuration.

i'm able upload, edit, delete , select files in fileman seen in next picture.

enter image description here

however, after select file (a picture) example, file path returned in format of: /www/path/to/image.jpg..

the problem "www" part of path not visible online , right path returned editor should /path/to/image.jpg.

example of path returned fileman:

enter image description here

does know how force ckeditor or fileman use publicly visible directory structure? thank you!

there multiple solutions problem:

not recommended:

  • create soft link www folder (on linux example ln -s /www /www/www)

the second solution lead serious security problems , needs server able follow symlinks apache2 example

edit: missed problem first... solution (in fileman): "the path must absolute site root!" update settings according , work fine.


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -