We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 31946
    • 116 Posts
    Hi there,
    I’ve updated a site from 2.0.4 to 2.0.5. When selecting an Image from the Modx-Browser, the path to
    the image is set with a slash in front. for example:

    /data/images/image.jpg


    before the update it was:

    data/images/image.jpg


    Because of that my images chosen from an Image-TV or also inside Tiny don’t work anymore.
    I’ve checked my filesystem settings, I didn’t change anything there.

    filemanager_path =
    filemanager_path_relative = true
    filemanager_url =
    filemanager_url_relative = true
    rb_base_dir = 
    rb_base_url =
    


    Can anyone help me?

    Thanks! smiley
      • 28000 ☆ A M B ☆
      • 397 Posts
      I am having the same problem. I am using phpthumbof to resize my images, and now it no longer finds the image path because of this extra slash added to the front of the image path. I have an image TV attached to a template so that the user can upload images. Now when the user uploads and selects the image, it adds this extra slash. Not sure how to solve this yet except for going into each resource and deleting the slash. This won’t be an elegant solution however for my client. sad
        Benjamin Davis: American web designer living in Munich, Germany and a MODX Ambassador. I am also co-founder of SEDA.digital, a MODX Agency.
        • 3749
        • 24,544 Posts
        Someone needs to file this as a bug with details on how to reproduce it: http://bugs.modx.com/.
          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
          • 31946
          • 116 Posts
          Quote from: BobRay at Dec 17, 2010, 01:30 AM

          Someone needs to file this as a bug with details on how to reproduce it: http://bugs.modx.com/.

          Already done. Thought that it’s maybe a settings problem.
          http://bugs.modx.com/issues/3038

          I didn’t notice its happening also when selecting an image in tinymce. So the problem
          is to search in the filebrowser...