We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 42959
    • 5 Posts
    Hello together,

    does someone know if it is possible to get the URLs of the images in the MODx Revolution Gallery? I have only the possibility to insert a TV in my template, so I can not call the gallery snippet. I wanna put this URLs into a simple image tag and list the images.

    Greets

    Mik
    • Have you looked into MIGX?

      http://rtfm.modx.com/display/ADDON/MIGX

      This allows you to have 'x' items of a TV against each resource, I have used this to form a gallery on many sites (example below).

      http://www.jandb-interiors.co.uk/sofasandarmchairs.html

      You then just call it through the snippet supplied with MIGX similar to that of getResources.
        GEL STUDIOS
        MODX Professional | MODX Ambassador

        Website | Email | Twitter | Facebook
        • 42046
        • 436 Posts
        You can call the gallery items through getPage and use [[+image_absolute]] to obtain the gallery item urls.
          • 39333
          • 151 Posts
          I have only the possibility to insert a TV in my template, so I can not call the gallery snippet.

          Why can't you call gallery within a text tv?
            MODX...the Zen of CMS
            "Bight off more than you can chew and keep right on chewing."
            • 42959
            • 5 Posts
            Why can't you call gallery within a text tv?

            I build a Tpl for the pdf bridge AddOn. And the gallery snippet call doesn't work in this tpl, but TVs do.

            I'll try the MIGX AddOn and maybe it will work. Or has somebody a better idea?