We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12379
    • 460 Posts
    Having problems with the "Sort pictures" function as the order of the images after saving are more random than the original specified order. Pretty frustrating as some pictures need to be grouped together but they’re being split up.
      Mostly harmless.
      • 7923
      • 4,213 Posts
      See the &order_by and &order_direction from maxigallery wiki. MaxiGallery tries to read the date from the picture EXIF data and use that if it exists.. otherwise it will use the date the picture is uploaded. So if some pictures have date in EXIF data and some dont, it can cause funny picture order.


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 12379
        • 460 Posts
        ok thanks - looking at this gallery some have positions and some don’t so it’s probably tried to order by position and then date.

        Also, there appears to be problems on Mac Safari and Camino with the drag and drop order popup. You can drag, but you can’t drop. We’re talking a few hundred images here too.
          Mostly harmless.
          • 12379
          • 460 Posts
          Have decided to order by ID but with no apparent difference. ASC or DESC doesn’t make any difference either. Have tried v0.52 and 0.6. As mentioned in other post, have increase phx passes.


          [!MaxiGallery? &embedtype=`lightboxv2` &order_by=’id’ &order_direction=’DESC’ &pics_per_row=`5` &max_thumb_size=`130` &max_pic_size=`0` &thumb_use_dropshadow=`0` &quality_thumb=`90` &pics_per_page=`20` &manage_target=`227`!]
            Mostly harmless.
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            Unless that’s just a typo in posting your code, you have single quotes instead of backticks around your values for those parameters.
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org
              • 12379
              • 460 Posts
              Oh cr*p, so I do! Thanks.
                Mostly harmless.