We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34459
    • 134 Posts
    I have a box with a gallery. The thing is that when I click a thumbnail it opens in that box. When I click on it again it opens a fancybox (lightbox). As you can imagine I want fancybox to kick in at first click without it opening full size, inside the box. It's probably very easy but honestly I can get the hang of it.Any ideas?

    [[!GalleryItem]]
    [[!+galitem.image:notempty=`
    <div class="image">
      <a rel="group" class="group" href="[[+galitem.image]]"><img class="[[+galitem.imgCls]]" src="[[+galitem.image]]" alt="[[+galitem.name]]" /></a>
    </div>
    `]]
    [[!Gallery? &album=`1` &toPlaceholder=`gallery`]]
    <h1><a rel="group" class="group" href="[[~[[*id]] &galAlbum=`[[+gallery.id]]`]]">[[+gallery.name]]</a></h1>
    <p>[[+gallery.description]]</p>
     
    [[+gallery]]


    btw. using I an using newest gallery and modx 2.1.3
      Check out blackflow.pl
      • 16899
      • 284 Posts
      I´m with the same problem as you... sad
        • 34459
        • 134 Posts
        use pretty gallery from packages by benmarte. It's very easy to implement and edit. He also implemented nivo slider in to a package and that made him my "personal hero of the month" smiley.
          Check out blackflow.pl
          • 3109 ☆ A M B ☆
          • 894 Posts
          Thanks for the kind words @blackflow I still got some other gallery plugins I will be working on just been really busy, make sure you check out FullSideGallery too it's pretty neat if you need a Fullscreen photo gallery
            Benjamin Marte
            Interactive Media Developer
            Follow Me on Twitter | Visit my site | Learn MODX
            • 34459
            • 134 Posts
            yes I know, recently I've found a reason to use it in a photo commercial site:)
              Check out blackflow.pl