We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37638
    • 63 Posts
    I have a media source that points to ./assets/user/ and and an image TV that uses that media source. The TV is set to output as an image. However, the image keeps getting outputted without the proper path pre-pended to it. I.e., it outputs:

    <img class="img-ident-1" src="images/img_3.png" alt="" />


    but should output:
    <img class="img-ident-1" src="assets/images/img_3.png" alt="" />


    MODX 2.2.5, baseURLRelative and basePathRelative both set to true.
      • 36926
      • 701 Posts
      Whats the basePath and baseUrl set as for the media source.

      Also if you output the image TV as default and not an image widget is the path still incorrect?
        • 37638
        • 63 Posts
        So, I caught the problem as I was getting the info to answer your question.

        The basePath WAS assets//user/

        The basePath is NOW assets/user/ and it is working.

        Thanks, would not have noticed without your reply!