We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20364
    • 89 Posts
    When TinyMCE adds an image, it creates "assets/", and we are trying to get it to put "/assets/": http://cl.ly/6cdX

    I have tried all 3 path settings, and none work.

    I have changed the manager URL / etc. to "/assets/", with no luck.

    Any help would be much appreciated!
      • 7914
      • 137 Posts
      have you tried putting this in the <head> of your document?
      <base href="[[++site_url]]" />
      
        • 20364
        • 89 Posts
        Yeah.. Unfortunately I have a unique structure with contexts so my base URL can’t be the root, so I need to get the slash in the wysiwyg
          • 7914
          • 137 Posts
          Well, I suppose you could always just put the first "/" in the actual code of you page. Something like...
          <img src="/[[*my_image_tv]]" />
          


          I don’t know if that’s best practice or not, but it would certianly work.
            • 20364
            • 89 Posts
            Right, however this won’t work for pages that are created in the WYSIWYG editor