We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 33982 ☆ A M B ☆
    • 476 Posts
    Working on a MODx Revo 2.1.5-pl site and having problems with the image file path breaking in the Resource Content area when using Tiny MCE (using the newest version). When uploading the image, all works fine. The moment you upload an image in the image editor, then click on the image, it will load the file path, for example:

    assets/afu-images/figures.jpg


    The preview shows a broken image as well in the Resource content area. If I simply put a forward slash "/" at the beginning of the file path, the image loads properly in the Preview and Resource Content area:

    /assets/afu-images/figures.jpg


    Not sure if that's a system setting I can adjust since it's a bit confusing for the client. [ed. note: flinx777 last edited this post 14 years, 9 months ago.]
      Precision Web Development ... SmashStack.com
      • 33982 ☆ A M B ☆
      • 476 Posts
      Just found the problem. On line 45 of the config file, just had left the value blank. When I changed it, it updated and worked fine:

      $modx_base_url= '/';
        Precision Web Development ... SmashStack.com