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

java - unable show chart in xls document using jasper reports -

javascript - How to change image src on success AJAX -

java.lang.RuntimeException: Could not generate dummy secret at sun.security.ssl.RSAClientKeyExchange.<init> -