We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18367
    • 834 Posts
    I’ve installed modx and tinymce now on three different hosts and the first two work ok, but for the life of me I can’t get the image folder to work inside TinyMCE.

    I’m guessing it’s a path problem ’cos when I open up the insert image function and click the folder icon it opens up the wrong/non existent folder.

    I’ve tried adjusting the resource file paths in the configuration settings but with no luck.

    Is there a proven way to find out what the correct path is and set it so that it works?

    (Using the path in the php info section didn’t work by the way, before someone suggests it.)

    Thanks
      Content Creator and Copywriter
      • 16610
      • 634 Posts
      If possible, use FTP client (for example WinSCP) and navigate to your "assets" folder. On FTP client you can see the whole path to your "assets" folder from server root. The path can be something like /home/user/example.com/html/assets/.
        Mikko Lammi, Owner at Maagit
        • 18367
        • 834 Posts
        All I can see is
        /public/www/assets/

        So I tried that, now at least I’m getting the right file (I think) but no images are showing up.

        No, scratch that, now I get the wrong folder when I try to insert a pdf or link to a file.
          Content Creator and Copywriter
          • 18367
          • 834 Posts
          OK,

          finally got it to work.

          I ended up using

          /home/aq/aqu/mydomain.com/public/www//assets/
          as the Resource Path and

          /home/aq/aqu/mydomain.com/public/www/assets/images/
          as the Resource URL.

          Thanks

          Yes, well, ok, so now I can see the images but I have a few problems displaying them on the page.

          The alert amongst you will note that including images/ in the file path will result in /images/images/ actually being used on the actual page as the images file path. Ok, so I can just delete that and it still works.

          But of course i still now have that huge long file path in the page code. I’ll have to play with seeing how much of it I can delete before it stops working.
            Content Creator and Copywriter