We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 42701
    • 47 Posts
    I have a ModX site that was hosted in a subdomain. When I switched ModX to the main domain though the TV images stopped displaying. All the other template variables work fine.

    Anyone have an idea what the problem might be?

    Thanks in Advance
    ZCModXUser
      • 30585
      • 833 Posts
      This is probably due to your image paths. Cam you post the content of an image TV here so we can check?
        A MODx Fanatic
        • 42701
        • 47 Posts
        Hi Treigh,

        I just actually discovered the problem, but I'm not sure how to fix it. It seems the main domain only reads lowercase file names, so all my images with uppercase letters are throwing 404 errors! I'm using a Media Temple Server w/ Plesk 10.4.4 and ModX version 2.2.13.
          • 30585
          • 833 Posts
          That's a strange one. The fact that you didn't have this problem in the sub domain tells me that something else might be at play.

          Can you manually empty your core/cache folder if you haven't done this yet. Are you using Media sources for your image TVs?
            A MODx Fanatic
            • 42701
            • 47 Posts
            I have tried emptying my cache folder to no avail. I'm using images uploaded manually to the server smiley
              • 30585
              • 833 Posts
              Which Output Option are you using for your TV? And while we're at it, can you post a code sample of one of your image TVs being used? [ed. note: treigh last edited this post 10 years ago.]
                A MODx Fanatic
                • 42701
                • 47 Posts
                The output type is default. Here's a typical image in code:

                <div class="image-left image-both left">
                <img src="[[+tv.section_img_both_left]]" />
                </div>
                <div class="image-right image-both right">
                <img src="[[+tv.section_img_both_right]]" />
                </div>

                The source code worked fine in the subdomain, which is what is baffling me :\
                  • 30585
                  • 833 Posts
                  Everything looks fine to me. Did you find a fix?
                    A MODx Fanatic
                    • 42701
                    • 47 Posts
                    Yeah, I ended up just changing the images to all lowercase. Not quite a solution, but a viable workaround. Thanks for your help.