CKEditor Image Browse - Root back directory

justanumber
Posts: 7

CKEditor Image Browse - Root back directory

Most likely out of ordinary use, but need to have root image path like:
../mathtest/data/img

Cannot seem to get working.
Have tried:

Code: Select all

protected $root = '../mathtest/data/img';

Code: Select all

protected $root = '/../mathtest/data/img';

and

Code: Select all

protected $root = '../mathtest';
protected $imgdr = '/data/img';

In past, have always used the fast and easy way:

Code: Select all

'filebrowserImageBrowseUrl': '/path_to/ckeditor/plugins/imgbrowse/imgbrowse.html?imgroot=img',

But that will not work with "?imgroot=../mathtest/data/img" either

Is there a way to use "../mathtest/data/img" with the plugin?

Many thanks in advance for your assistance.

justanumber
My bad. Seems I was not going up extra directory.
Solved by adding extra "../"

Cheers!

Adv. Posts: 01

Similar Topics