We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34162
    • 1 Posts
    This is an auto-generated topic for <a href="http://modxcms.com/extras/package/686">1-minute LightBox 1.0-beta</a> by quardas.

    Brief Description:
    This is easy and speed-install lightbox gallery for MODx CMS.

    Its based on jQuery clone of this gallery-script.



    It works with 1.0.2 version of MODx.
      • 13137
      • 204 Posts
      Wow, what a sweet and simple gallery. Much thanks.

      How do you change the size of the thumbnail?

      Looks as though by default it is 96x96, but I would like to make mine bigger.
        • 1783
        • 23 Posts
        Exactly the same question: how to change size of the thumbnail? (I’d like to remove the ugly white stripes around it as I have black background and rectangle, not square, photos)

        thanks
          • 12147
          • 182 Posts
          Installed as directed, getting parse error... undecided

          This is correct?
          [!lightbox? &folder=`FolderName` !]
            • 1783
            • 23 Posts
            Yes, the call seems ok. Have you created lightbox snippet and copied all the folders from the zip file into assets/module/lightbox folder?

            Has anyone got an idea how to change the thumbnail size? so frustrating...
              • 12147
              • 182 Posts
              Made a stupid, not-thinking mistake - fixed now and working.

              Re: thumbnails size, no obvious solution I can see. embarrassed If you find one, please post!
                • 10154
                • 8 Posts
                Hi,

                I’m running evo 1.04 and I have a strange problem with the lightbox. The snippet is working nice when I have a folder like images/Test. When I want to display the content of a subfolder like images/Test/Test I get the thumbnails, but when I click on it, the images are opening in a new window rather than displaying in the lightbox. Can somebody help me about solving this issue?
                  • 23608
                  • 3 Posts
                  Hi there

                  i get the same problem with the thumbnails opening a full page when clicked (as frenchman) any solution would be welcomed.

                  Gil
                    • 23608
                    • 3 Posts
                    ok i found out how to open in lightbox by modifying a bit core.php

                    <script type="text/javascript" src="assets/modules/lightbox/js/jquery.js"></script>
                    <script type="text/javascript" src="assets/modules/lightbox/js/jquery.lightbox-0.5.js"></script>
                    <link rel="stylesheet" type="text/css" href="assets/modules/lightbox/css/jquery.lightbox-0.5.css" media="screen" />
                    <script type="text/javascript">
                    $(function() {

                    $(’a[@rel*=lightbox]’).lightBox();
                    });
                    </script>

                    I changed the line "$(’a[@rel*=lightbox]’).lightBox();" and added rel="lightbox" to the link.

                    Best regards
                      • 23608
                      • 3 Posts
                      got another question : is it possible to fix a max size for the pictures shown in the gallery ? I got some pics in the gallerie which are highresolution 2000*3000 px ... ?

                      In CSS perhaps ?