We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17754
    • 5 Posts
    Hi,

    The whole afternoon i scanned the internet for the next problem without any success.

    I just added a simple image field via a TV but in the browser it shows the wrong path:
    <img src="/modx/assets/cache/picture.png" /> but it must be without the cache:
    <img src="/modx/assets/picture.png" /> (via tinymce the path is correct)

    Can i also set the upload dir somewhere, i am working with modx revolution.

    Thank is advance,

    Lars
      • 8921
      • 55 Posts
      Sorry I don’t have a solution for you. I just wanted to second this question as well. I’m not having the cache issue but for the life of me I can’t figure out how to set a default directory for the TV (image input type).
        • 36723
        • 94 Posts
        Just wondering also if you have any solutions?
          • 3749
          • 24,544 Posts
          Be sure you have this in the <head> section of all templates:

          <base href="[[!++site_url]]" />


          I don’t think the leading slash should be there either.
            Did I help you? Buy me a beer
            Get my Book: MODX:The Official Guide
            MODX info for everyone: http://bobsguides.com/modx.html
            My MODX Extras
            Bob's Guides is now hosted at A2 MODX Hosting