We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21759
    • 139 Posts
    Has anyone got MiniGallery 0.8.1b to work with Modx? I have installed it and everything seemed to go fine until I tried to create a new album and I recieved this error:
    Warning: Invalid argument supplied for foreach() in /home/mywebsite/public_html/test/website/assets/modules/MiniGallery/actions/addAlbum.php on line 20

    Even when I ignore the error and I try to rename the album I get this error:
    Fatal error: Call to undefined function read_exif_data() in /home/mywebsite/public_html/test/website/assets/modules/MiniGallery/image.class.php on line 15

    I haven’t attempted to go any farther. I did check out the lines of code mentioned but I don’t know php and couldn’t determine if it was right or wrong. Can someone enlighten me on what these errors are about?
      • 21759
      • 139 Posts
      Never mind, I uninstalled it and went for MaxiGallery which seems to work well.
        • 19374
        • 41 Posts
        The MiniGallery works well with everything like image uploading etc. but when I click on the image folder on the page it redirects me to the index. I did upload an image in the first gallery.

        Could somebody help me out with this? Is this a MiniGallery bug? I did it like in the instructions with the uncached [!MiniGallery!]

        Here is a link: http://www.lav-tt.de/index.php?id=5

        // in the backend the lightbox do work even grin


        Thanks for watching.
          • 30309
          • 4 Posts
          Better late than never for this
          Line 14 of icons.tpl.php - a ’?’ should be a ’&’:
          Change ]?album= to ]&albums=
            • 30309
            • 4 Posts
            whoops, typo
            Line 14 of icons.tpl.php - a ’?’ should be a ’&’:
            Change ]?album= to ]&album=
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              I suspect that this would depend on whether you are using friendly URLs or not. If not, then you need it to be a & (since the index.php?id=xx is already using the ?) but if so, then it needs to be ?
                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