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

    I started with MODx a couple of days ago and I found it very nice.

    Now I´m trying to build a photo gallery using MaxiGallery width lightbox 2.0 and I can´t make it works.

    I´ve followed the steps at http://modxcms.com/forums/index.php/topic,6413.msg45181.html#msg45181 and used the call from http://www.netguru.fi/modx/maxigallery-lightbox2.html, but when I go to the gallery and click over a picture it takes me to another page instead of open the lightbox.

    I understand that the problem is that the javascript files calls are missing from the document´s head. But I can´t figure what part of the procedure I´m doing wrong.

    Wainting for your comments.

    Thanks in advance!
      • 7923
      • 4,213 Posts
      What is the exact snippet call? what maxigallery version? is the page uncached?


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 5380
        • 3 Posts
        Sorry, I forgot to advise the version I´m using.

        They are MaxiGallery 0.5 (the current release) and MODx 0.9.5 (current release too).

        The call is the same you used at your example of lightbox:

        [[MaxiGallery? &display=`embedded` &embedtype=`lightboxv2` &pics_in_a_row=`3` &max_thumb_size=`110` &max_pic_size=`0` &thumb_use_dropshadow=`1`]]
        


        And yes, i´m sure the page is uncached

          • 7923
          • 4,213 Posts
          Hmm.. are you absolutely sure that the page is uncached and that snippet call is in the document that you liked to above? because you have dropshadow enabled too and I don’t see shadow in your thumbnails. And the &pics_in_a_row parameter has been renamed to &pics_per_page in the latest release, my demo site uses v0.2 actually, I’m going to update it when I get the time..


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."
            • 5380
            • 3 Posts
            Nooooooooo I mean, yeaaaaah!!

            That was the problem! I´ve seeing the wrong document.

            Well, thanks a lot. I´ll take note of the change at the parameter too.

            And by the way, the gallery is really great!
              • 7923
              • 4,213 Posts
              No problems, nice looking site too..


                "He can have a lollipop any time he wants to. That's what it means to be a programmer."