We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15065
    • 138 Posts
    Hi all
    when I try to insert maxigallery some error is diplaying like this
    [+maxigallery.embedtype:is=`smoothgallery`:then=`
    [+maxigallery.embedtype:isnot=`smoothgallery`:then=` [+maxigallery.pictures:isnot=``:then=` 
    

    and I got the images displaying two times .
    My Maxigallery code is below
    [!MaxiGallery? &display=`embedded` &embedtype=`slimbox` &pics_per_row=`4` &max_thumb_size=`100` &max_pic_size=`500` &thumb_use_dropshadow=`1`!] 
    
    
      • 7923
      • 4,213 Posts
      Are you sure that there is not another MaxiGallery call running on the page? Also what versions are you using and where does this error come up? Sounds strange.. have you installed the snippet correctly?


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 15065
        • 138 Posts
        Thank you for the reply.
        The actual problem we found today that when we uploaded [and visible ] more than 74 images, then only the error is coming and showing images twice. We made visible only 74 images [ balance images changed as hidden] then error is disappeared. How will make visible more than 74 images properly ?
          • 7923
          • 4,213 Posts
          Hmm, sounds to be the same problem as in this http://modxcms.com/forums/index.php/topic,18591.0.html

          I was not able to figure it out, don’t know what’s causing it..


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."
            • 15065
            • 138 Posts
            Hi
            We solved that issue by giving pics_per_page=`48` parameter to maxgallery. Now no error is coming.

            Thank you

            Jurdy
              • 7923
              • 4,213 Posts
              Ok, good to know and thanks for posting the solution.. I guess that the problem is that in some server environments the script hits some maximum processing time limit, because it takes long time to process pages with many pictures (the code is not very optimized).. Your solution goes around the issue and is good for now..


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