We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 31622
    • 4 Posts
    When you attaching an image to your pages using a FCK editor there’s a nice option to quicly edit the image (resize, crop, rotate, etc.) using build-in ImageEditor. However it doesn’t work from the beginning.

    When you open it, at least in Evo 1.4 you see that the browser can’t load the picture itself.
    This is because ImageEditor module uses relative path to the image. And since it is located under manager/media/ImageEditor it will never load images from assets/images/...

    To fix it you can edit
    manager/media/ImageEditor/editorFrame.php

    Find the string:
    <span id="imgCanvas" class="crop"><img src="<?php echo $imageInfo['src']; ?>"


    And replace it with:
    <span id="imgCanvas" class="crop"><img src="../../../<?php echo $imageInfo['src']; ?>"


    Then you should be able to see your picture and edit it.
      • 4310
      • 2,310 Posts
      Nice spot & fix.
      Have you added in JIRA?
        • 31622
        • 4 Posts
        Quote from: bunk58 at Nov 05, 2010, 02:42 AM

        Nice spot & fix.
        Have you added in JIRA?

        Hi David,

        No, I’m not very familiar with bug reporting in MODX...
          • 4310
          • 2,310 Posts