We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27330
    • 884 Posts
    I want top have only the first thumb visible but when open the gallery show them all.
    I tried &pics_per_row=`1` but that resulted in a narrow list. I tried &limit=`1` and got only one image.

    doze can u send me the correct way please?
      • 33337
      • 3,975 Posts
      Zaigham (aka zi) Reply #2, 18 years ago
        Zaigham R - MODX Professional | Skype | Email | Twitter

        Digging the interwebs for #MODX gems and bringing it to you. modx.link
        • 7923
        • 4,213 Posts
        zi already pointed you to the correct path, try that one.. thanks zi!


          "He can have a lollipop any time he wants to. That's what it means to be a programmer."
          • 27330
          • 884 Posts
          man I feel so lame sometimes. 100% of my questions about maxigallery are already answered in the wiki. and I swear I searched and missed it!
          thanks both for the quick reply!
            • 27330
            • 884 Posts
            this is working very well for existing gallery but if I try to add new page and use this call I get this phrase error. any ideas?

            PHP error debug
              Error: 	chmod() [function.chmod]: No such file or directory	 
              Error type/ Nr.: 	Warning - 2	 
              File: 	/nfs/c02/h07/mnt/38881/domains/communisec.com/html/assets/snippets/maxigallery/maxigallery.php	 
              Line: 	372	 
              Line 372 source: 	chmod($mg->path_to_gal.$name,0666); 	 
             
              • 7923
              • 4,213 Posts
              Try the v0.6 test version if you are not already using it.

              Also make sure that assets/galleries folder is CHMOD 777.

              If all that fails, try using the ftp commands to upload pictures, see maxigallery wiki page and the snippet parameters that have "ftp" in them.


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