Ok after messing with the plugin i found maybe the only way is change some of the html code step 1: change dialog-v4.htm form action to http://example.com/public/js/tinymce/plugins/jbimages/ci/index.php/upload/english then the iframe src to http://example.com/public/js/tinymce/plugins/jbimages/ci/index.php/blank step 2: change $config['img_path'] to '/public/your_image_directory' in config.php file
if anyone has a cleaner solution i will be happy to see