We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17705
    • 501 Posts
    have someone used maxigallery with text links instead thumbnails?
    is that posible?
    [me=luuuciano]going to read all the maxigallery wiki snippet options........ [/me]
      • 17705
      • 501 Posts
      I need to play with &galleryPictureTpl
      right?

      I made a chunk named enlacegaleriagraficatxt:

      <a href="[(base_url)][+maxigallery.path_to_gal+][+maxigallery.picture.filename+]" rel="lightbox[maxigallery]" title="[+maxigallery.picture.title:htmlent+] - [+maxigallery.picture.descr:htmlent+]">
      [+maxigallery.picture.title+]</a>

      the document 79 have 5 images, with title descriptions...

      then, in the main gallery template, where I need to show 3 galleries (just trying it with one at this moment) I have this call:

      [[MaxiGallery? &display=`embedded` &embedtype=`lightboxv2` &pics_per_row=`1` &galleryPictureTpl=`enlacegaleriagraficatxt` &lang=`es` &picture_target=`79`]]


      I can see the images in the 79 document... but the "main" document just show NOTHING......

      I have logged out... and just see the "manage images" button... but the idea is to see the images there, not the manage button... (at least not when Im not logged in...)

      any idea?

        • 7923
        • 4,213 Posts
        Replace &picture_target=`79` with &gal_query_ids=`79`. If you plan on adding more than one gallery, you can add them in comma separated list of ids. If you want to show just one gallery, you can also use &view_gallery=`79` parameter. That parameter only support single id.

        The &picture_target parameter is used to make links to that specific document from the thumbnails. Same as &manage_target but for picture viewing. So that’s not the one you want to use.


          "He can have a lollipop any time he wants to. That's what it means to be a programmer."
          • 17705
          • 501 Posts
          wow, thanks a lot doze!

          it is working now... smiley
            • 17705
            • 501 Posts
            one last question... galleries are separated by documents, or not?

            because I have used something like:

            <div id="grafica3coluno">
            <p>identidad y logos</p>
            [[MaxiGallery? &display=`embedded` &embedtype=`lightboxv2` &galleryOuterTpl=`graficaul` &galleryPictureTpl=`enlacegaleriagraficatxt` &clearerTpl=`graficaclearer` &lang=`es` &gal_query_ids=`79`]]
            </div>

            <div id="grafica3coldos">
            <p>flyers y brochures</p>
            [[MaxiGallery? &display=`embedded` &embedtype=`lightboxv2` &galleryOuterTpl=`graficaul` &galleryPictureTpl=`enlacegaleriagraficatxt` &clearerTpl=`graficaclearer` &lang=`es` &gal_query_ids=`80`]]
            </div>

            <div id="grafica3coltres">
            <p>misceláneas</p>
            [[MaxiGallery? &display=`embedded` &embedtype=`lightboxv2` &galleryOuterTpl=`graficaul` &galleryPictureTpl=`enlacegaleriagraficatxt` &clearerTpl=`graficaclearer` &lang=`es` &gal_query_ids=`81`]]
            </div>

            to show 3 separated galleries in the same page...

            but when I see an image... all the images of the 3 galleries are "grouped", as 1 big gallery... and I do not know why...
            my idea was to show the galleries, and let the people do next/previous in the "same gallery", not to let them see all the images doing next next next next...


            (sorry if I can not explain my self very well... I hope you can understand it...)
              • 7923
              • 4,213 Posts
              Lightbox js script collects all the tumbnails to same set by their link rel attribute.

              You need to change in your galleryPictureTpl the following:

              rel="lightbox[image[+maxigallery.pageinfo.id+]set]"

              to:

              rel="lightbox[image[+maxigallery.picture.gal_id+]set]"

              That should make lightbox get each picture from a different maxigallery to its own picture set.


                "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                • 17705
                • 501 Posts
                thanks a lot doze!
                :)