title: ToastUI Image Editor loadImageFromURL doesn't work
body: <p>Please note this is a self-answered question.</p>
  
  <p>This question is about the ToastUI Image Editor v3.3.0, but it may also apply to newer versions.</p>
  
  <p>When you load an image using <a href="https://github.com/nhnent/tui.image-editor/blob/master/docs/Basic-Tutorial.md#3-javascript" rel="nofollow noreferrer">this official example</a>:</p>
  
  <pre><code>// Create image editor
  var imageEditor = new tui.component.ImageEditor('#my-image-editor canvas', {
      cssMaxWidth: 1000, // Component default value: 1000
      cssMaxHeight: 800  // Component default value: 800
  });
  
  // Load image
  imageEditor.loadImageFromURL('img/sampleImage.jpg', 'My sample image')
  </code></pre>
  
  <p>The editor will not load the image. The function neither throws, nor returns anything indicating a failure and you don't get any error messages. It returns a promise that resolves as specified in the documentation.</p>
  
  <p>It only loads an image by specifying it in the initial config and you can't change it afterwards:</p>
  
  <pre><code>// Create image editor
  var imageEditor = new tui.component.ImageEditor('#my-image-editor canvas', {
       includeUI: {
           loadImage: {
               path: 'img/sampleImage.jpg',
               name: 'My sample image'
           },
       },
      cssMaxWidth: 1000, // Component default value: 1000
      cssMaxHeight: 800  // Component default value: 800
  });
  </code></pre>
  
  <p>It appears that the <a href="https://nhnent.github.io/tui.image-editor/latest/ImageEditor.html#loadImageFromURL" rel="nofollow noreferrer">loadImageFromURL</a> function is broken and according to other users <code>loadImageFromFile</code> has the same problem.</p>
  
  <p>Issues about this have been raised on GitHub, but have basically been ignored. It's been a month now and unfortunately it still hasn't been fixed. </p>
  
  <p>So the question is how can the image editor be tricked into working while this issue exists.</p>
  
  <p>Here is a fiddle showing that it doesn't work: <a href="https://fiddle.sencha.com/#view/editor&amp;fiddle/2org" rel="nofollow noreferrer">https://fiddle.sencha.com/#view/editor&amp;fiddle/2org</a></p>