title: TinyMCE image insertion troubles
body: <p>I've decided to use TinyMCE as the text editor on my site and I even bought a licence for Image Manager. All's good, except for one thing.</p>
  
  <p>When I try to insert an image into the text area by clicking the image icon in the tool bar I get a popup with a dialog where I can press another button to select an image with the Image Manager. I was able to configure the Image Manager to look into the correct directory for images. After selecting an image the Image Manager dialog closes and I'm brought back to the initial image selection dialog. In the Image URL field there is now a URL, unfortunately, the URL seems to be wrongly constructed.</p>
  
  <p>The selected image lives in a directory called <code>images</code> and the file name is e.g. <code>picture.jpg</code>. The domain of my site is <code>http://mydomain.com</code>. The constructed Image URL in the dialog becomes this:</p>
  
  <pre><code>http://mydomain.comges/picture.jpg
  </code></pre>
  
  <p>It looks like a concatenation accident of some sort. It's clear that something has gone wrong here but with the plethora of TinyMCE settings I have a hard time figuring out what. </p>
  
  <p>I've looked in the Image Manager plugin config file and I tried passing various init parameter to the editor init function, but nothing seems to make a difference. I'm at a point that I'm not sure what to do next.</p>
  
  <p>Any help is much appreciated.</p>