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

    I have a slideshow and want to select a bunch of images to render on each site. So I decided to use a TV with multi select.
    The data comes from a @DIRECTORY directive. So one can choose between all images in a specific folder.
    The problem is, each entry (image) is rendered as "/path/to/image/image.ext" and if I use the image output type following tag is constructed:
    <img src="/path/to/image/image.ext" />


    But this address is not getting resolved properly. The first slash ("/") doesn’t be included. Because it links to the root. Any suggestions to avoid this?
    Changing the base dir doesn’t work also. (<base href="[[++site_url]]" />)

    Besides, changing the tag attribute doesn’t work also. Setting ’width="xxx"’ in that field results in a ’width’ on saving. ’="xxx"’ is just cut away...

    loxy

      • 28215
      • 4,149 Posts
      Hi, what version of MODx?
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 17552
        • 46 Posts
        2.0.4.-pl2
          • 28215
          • 4,149 Posts
          Can you file that as a bug here: http://bugs.modx.com/
            shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
            • 17552
            • 46 Posts
            Ok. Done.
            The link to the issue: http://bugs.modx.com/issues/2855
            Thanks you!
              • 21916
              • 8 Posts
              I have the same problem.
              Any solutions so far?