We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8489
    • 90 Posts
    Got it to work smiley

    I placed a new folder in root called upload, in there I placed the folder that I used before to upload the images to.

    I changed
    filemanager_path to: upload

    The rest I left untouched
    filemanager_url:
    rb_base_dir to:
    rb_base_url to:

    Thanks Mark for your help!

    Update: leave a copy of the original folder in root, this to preserve the old image urls to accessible


    didn’t worked after all
      • 8489
      • 90 Posts
      Quote from: Mark at Jun 14, 2011, 10:35 AM

      If you visit the images on your site, you’ll probably see it has prepended the new relative url to your relative url.. once you "locked" the folders the end user wont see that, and the paths are added on save, & removed on update.

      I can see the new relative url to the relative url but what do you mean with "locked"?
        • 18373 ☆ A M B ☆
        • 3,141 Posts
        Just using the term you put in your title there wink

        See the attachment for some settings I used on a subdomain - these are context settings but it’ll show you what works.

        I’m not 100% sure you need all of them, I tend to just fill in as much as possible.
          Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

          Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
          • 8489
          • 90 Posts
          a BIG thank you for your help, I will try it right now smiley
            • 8489
            • 90 Posts
            I have set most of it, it shows now on the resource where the images are, but the images pulled from a getResource call won’t show up.
            The url to the image is without the foldername of the folder where images are uploaded to.
              • 18373 ☆ A M B ☆
              • 3,141 Posts
              That’s probably because the reference to the image file existed before adding the uploads folder to the filemanager path?

              That’s probably where the re-selecting comes in..
                Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

                Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
                • 8489
                • 90 Posts
                No I am testing now with new images, the other images that where there before are okay only the new ones are not vissible in teh getResource call.

                The names surounded by greenboxes in the attachment is the upload folder
                  • 18373 ☆ A M B ☆
                  • 3,141 Posts
                  Looks like it should work to me.

                  If you cleared cache and all that, and it didn’t work, feel free to send me some login details via email and I may be able to have a quick look in the weekend.
                    Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

                    Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
                    • 8489
                    • 90 Posts
                    Thanks Mark, things are getting weirder by the time, now old images are visible by the getResource call but not on the resource it self huh
                    I will check things out twice and if not working after all I will set you login details by the weekend, Thanks!!!