We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3749
    • 24,544 Posts
    doze,

    I’ve run across two things that you might want to look into, although they might both be the result of errors on my part.

    The first is a display issue:

    [[MaxiGallery? &display=`childgalleries` &pics_per_row=`3`]]
    


    With this code, Maxigallery will sometimes go into a mode where it shows 2 pics in the first row and 1 in each row beyond that.

    It also does the same thing on each gallery page with this call:
    <h3>Click on a photo to see a larger version</h3><br/><p>[[MaxiGallery? &display=`embedded` &embedtype=`slimbox` &pics_per_row=`3`  &max_thumb_size=`110` &admin_webgroups=`wugPhotoAdmins`  &manager_webgroups=`Photo Admins` &max_pic_size=`480` &thumb_use_dropshadow=`1`]]</p>
    


    In both cases, the problem comes and goes in IE6, Opera, and FireFox (haven’t seen it in Netscape). Sometimes the photos display in rows of three as they should (they’re the same photos -- I haven’t added or deleted any).

    The second problem has to do with deleted photos remaining in the database. I’m pretty sure I deleted the photos in MaxiGallery with "delete all photos," then I deleted the gallery page in the Manager. It’s possible, though, that I deleted the gallery page without deleting the photos in MaxiGallery. I can see how that would cause this problem.

    The photos stayed in the MaxiGallery database even though both the photos and the gallery were gone. The result was that the all-galleries query for a random photo "found" them in the database and put up a broken image icon on the page. I deleted them manually in PhpMyAdmin because I couldn’t figure out any other way to get rid of them.

    I first tried using "resynch" but couldn’t do it on the non-existent galleries. Maybe calling "resynch" could walk through the database and delete any photo records for nonexistant photos (or maybe there could be a "clean database" button on the Manage Photos page that does that).

    Performance-wise, I suppose it’s not a good idea for the query function to check for the existence of the photo and re-query.

    These are really minor problems and I love MaxiGallery.

    Keep up the good work,

    Bob


      Did I help you? Buy me a beer
      Get my Book: MODX:The Official Guide
      MODX info for everyone: http://bobsguides.com/modx.html
      My MODX Extras
      Bob's Guides is now hosted at A2 MODX Hosting
      • 7923
      • 4,213 Posts
      Problem 1: When it happens, could you view the source of the page and post it here..

      Problem 2: I’ll take a look at the code..


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 3749
        • 24,544 Posts
        Quote from: doze at May 16, 2007, 04:25 AM

        Problem 1: When it happens, could you view the source of the page and post it here..

        Will do.

        Bob
          Did I help you? Buy me a beer
          Get my Book: MODX:The Official Guide
          MODX info for everyone: http://bobsguides.com/modx.html
          My MODX Extras
          Bob's Guides is now hosted at A2 MODX Hosting