We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 449
    • 14 Posts
    I have made an update to MaxiGallery that uses SWFUploader to upload pictures, instead of the older uploader.

    There has been added two new option you can set to your maxigallery snippet.

    &use_flash_upload and &manageOuterFlashTpl

    To enabled the flash uploader set &use_flash_upload=`1`.

    You can also change the flash template, but it is NOT reccomended.

    There is also a bit of jQuery added, so if you have jQuery on you site, it will add the pictures to the page without reloading. If you do not have jQuery, it will just submit the empty form, and then you will se the pictures.

    The whole thing is based on the v. 0.6 beta of the maxigallery.

    http://cryopaintball.dk/maxigallery.zip
      • 7923
      • 4,213 Posts
      Sweet, Thanks a lot! I will add it to the next version. smiley


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        Not intending to be insulting, but considering all the hacking activity going on these days, is it possible to check the code behind this? Anything javascript or flash "blackbox" makes me nervous.
          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
          • 7923
          • 4,213 Posts
          Sure, I will check it when I’m going to add it.. but don’t really understand what you are afraid of? SWFUpload and jQuery are pretty well known opensource projects.. this is just integration of those. And the usage of this is optional.


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."
            • 449
            • 14 Posts
            The code it self should be safe enough. I have one small concern but I have already told dozer to have a look at it. Since I have not had a chance to do some hacking attempts on it. I am though not some half backed self proclaimed coder. I work for a major Tele Company, and my special niche is Forms, and the security involving forms.
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              Ok, sorry about the paranoia. I’m not familiar with Flash, so hadn’t heard of SWFUpload. As long as somebody I trust trusts the source... cool
                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
                • 7455
                • 2,204 Posts
                I played around a bit trying to do the same i problem I had is that I always had conflicts with js when using lightbox the js is loaden even when you manage a gallery maybe its better disable gallery js to make room for managimage js like jquery in this case
                  follow me on twitter: @dimmy01
                  • 449
                  • 14 Posts
                  Hmm that is really strange, because I use lightboxv2 also, and I have no conflicts.
                    • 33987 ☆ A M B ☆
                    • 197 Posts
                    Thanks alot AddGod, it works like a charm here!
                      Sterc Internet & Marketing | MODX Founding Partner | Chairman of the MODX Advisory Board

                      In need of a MODX consult? Try our MODX Developers Experts!
                      • 17249 ☆ A M B ☆
                      • 165 Posts
                      Im using Evo 1.0.2

                      I have Maxigallery configured with a separate page to manage the files.
                      Where should i add the new options? in the Pictures page where i call the snippet or in the manager page wich uses another maxigallery snippet call?

                      Here’s what i have:

                      In the Gallery Manager Page:
                      [!MaxiGallery? &display=`embeded` &is_target=`1` &galleryPictureTpl=`SquareThumbs`!]

                      Or In a specific gallery, in the page where i display the pictures:
                      [!MaxiGallery? &display=`embeded` &galleryPictureTpl=`SquareThumbs` &manage_target=`50`!]

                      id 50 is the page with a different template to manage the pictures in a easier way.