We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7690
    • 166 Posts
    I am searching for a user friendly and dummy prove gallery, that i can set per document.

    So each page has a different and own image gallery.

    I don’t know it this is possible with MODx. It’s a must that it’s user friendly. So no uploading via FTP.

    I am using evo 1.0.5.
      • 26931
      • 2,314 Posts
      Hi DNA,

      Maxigallery or Evogallery. if it’s only a few images, a Multi-Image TV would work as well
        • 25132
        • 129 Posts
        +1 for MaxiGallery. All uploading of images happens within the page, no need for FTP. You can upload up to 10 images in one go. Have it on a number of my sites and clients love the simplicity. Also allows you to easily add image descriptions if required.
          • 26931
          • 2,314 Posts
          oh, you can bulk-upload way more smiley got a client who uploads zip files of ~50 images
            • 25132
            • 129 Posts
            Without FTP through MaxiGallery on the page? How? Would certainly be helpful in some cases!
              • 26931
              • 2,314 Posts
              Without FTP through MaxiGallery on the page?
              sure, just select the .zip

              depending on the number of pictures, file sizes & image processing you need to check these settings:
              IMPORTANT NOTE: It depends on your server settings that how many images you can upload at a time and how big. The image masking process for example is very slow and you might get a "Maximum execution time of NN seconds exceeded" -error message, if you are trying to upload many images at the same time with imagemasking on.. or if the images are large. Also when using big images, you may get "Memory Size Exhausted" -error as the image processing takes alot of memory too. These errors are not errors in the snippet code, they are caused by server settings. MaxiGallery script tries to use ini_set to increase the execution time and memory limit if needed, but it cannot do it if php is running in safe mode. You don’t necessarily see any error page, it can also just return a blank page when you upload pictures and if you look into /assets/galleries/<docid>/ folder, you may see that it has done for example thumbnail for some picture but then stopped there as either memory limit or maximum execution time got reached.

              So, Check these values from php.ini:

              * max_execution_time, this is the maximum execution time allowed for each script, in seconds (it takes quite some time for maxigallery script to process the images if there are many of them and many imaging "filters" used).

              * max_input_time, this is the maximum time each script may spend parsing request data, in seconds.

              * memory_limit, this is the maximum amount of memory in megabytes that a script may consume (maxigallery keeps the images in memory while it makes thumbnails etc).

              * post_max_size this is the maximum size of POST data in megabytes that PHP will accept (the pictures travel in the post data).

              * upload_max_filesize this is the maximum allowed size for uploaded files in megabytes.

              These settings can also be configured from Apache, so you might want to see if the following can be found from your httpd.conf:

              * php_admin_value upload_max_filesize Sets the corresponding php setting, see above.

              * php_admin_value post_max_size Sets the corresponding php setting, see above.

              * php_admin_value memory_limit Sets the corresponding php setting, see above.

              * LimitRequestBody Same as post_max_size php setting, but for apache.

              Check, if included the GD library for the dynamic creation of images in php.ini.

              * extension=php_gd2.dll (Windows) or extension=gd.so (Linux)
                • 16905
                • 46 Posts
                I like the sound of the option to upload a zip file, but it will not work in my MaxiGallery. When I try, I get the Parse Error:

                « MODx Parse Error »

                MODx encountered the following error while attempting to parse the requested resource:
                « PHP Parse Error »

                PHP error debug
                Error: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions
                Error type/ Nr.: Warning - 2
                File: /hermes/bosweb/web082/b825/XXXX/public_html/assets/snippets/maxigallery/watermark/Thumbnail.class.php
                Line: 359
                Line 359 source: $this->img["des"] = ImageCreateTrueColor($X_des,$Y_des);

                Parser timing
                MySQL: 0.0038 s (1 Requests)
                PHP: 0.9188 s
                Total: 0.9225 s


                Does anyone know what I would be doing wrong? I wanted to get the FTP Upload working in MaxiGallery, but when ever I would Resync, it would multiply my images 10-fold. This Zip option would be much easier for my client too.

                My scripting is not the greatest, so any help any one could give me to guide me in the right direction to get this working would be greatly appreciated.

                Thanks so much,
                L
                  • 16905
                  • 46 Posts
                  Update: I had been creating a zip file in DropZip from my Mac, and I would get the error message. I decided to try and make a PC zip from YemuZip and it worked.
                    • 18389
                    • 169 Posts
                    I am trying to upload a zip compressed from my mac as well... I do not get an error message at all after the upload, but nothing appears in maxigallery either. Maxigallery does not create a folder in "galleries" for that document id either.
                    I tried the Yemuzip method above with PC zip and MAC zip options and it did not work either. same result.
                      www.markojokic.com