title: TINYMCE - Path to upload images folder with jbimages plugin doesn't work
body: <p>I have a problem to configure the path for uploading images inside tinymce 4.0 using the plugin jbimages.</p>
  
  <p>Into file config.php of the plugin i have</p>
  
  <pre><code>$config['img_path'] = 'test/admin/uploads'; // Relative to domain name
  $config['upload_path'] = $_SERVER['DOCUMENT_ROOT'] . $config['img_path']; // Physical     path. [Usually works fine like this]
  </code></pre>
  
  <p>Doesn't work.
  Checking path with $_SERVER['DOCUMENT_ROOT'] i have</p>
  
  <pre><code>/web/htdocs/www.example.com/home/
  </code></pre>
  
  <p>So the full path is:</p>
  
  <pre><code>/web/htdocs/www.example.com/home/test/admin/uploads
  </code></pre>
  
  <p>What i want is </p>
  
  <pre><code>http://www.example.com/test/admin/uploads
  </code></pre>
  
  <p>and if i try to set it into  $config['img_path'] as a absolute path doesn't work as well</p>
  
  <pre><code>    $config['img_path'] = 'http://www.example.com/test/admin/uploads'; // Relative to domain name
  $config['upload_path'] = $config['img_path'];
  </code></pre>
  
  <p>what can i do??
  thanks</p>