We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34174
    • 67 Posts
    Running MODX 2.5.7. I have a resource with rich text content and embedded images. Can edit just fine in the Web context. Copied this resource into a different context. Images display as clear boxes. Cannot even insert a new image into document. Why?

    I go back to the original resource and I can edit the images, insert new ones, just fine.

    Using TinyMCE RTE 1.2 (the new one). Also I had 4.3.4 - the older one - installed alongside beforehand, and had the same problem. I removed it and also removed the RTE 1.2 then reinstalled it.
      • 42562
      • 1,145 Posts
      If you want contexts to share same source/images, make sure the editor is returning fixed absolute full IMG URLs. (http and all)

      Otherwise duplicate the assets folder that has the images.

      In the MODX manager, right-click the image to inspect the source URL.
      On the "frontend" do the same inspection.
      You will see the cause of the discrepancy.

      In TinyMCE, use:
      relative_urls: false
        TinymceWrapper: Complete back/frontend content solution.
        Harden your MODX site by passwording your three main folders: core, manager, connectors and renaming your assets (thank me later!)
        5 ways to sniff / hack your own sites; even with renamed/hidden folders, burst them all up, to see how secure you are not.