We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16905
    • 46 Posts
    Hi. I want to be able to upload images to my MaxiGallery via FTP.

    When I do this as stated in the Wiki page, I get a parse error when I change to "666" and resynch.

    Upload pictures using FTP
    1. First look what is the document ID where MaxiGallery runs. Eg. for this example, let's say it's 89.
    2. Create a folder /assets/galleries/89, if it doesn't exist yet. If you have already some pictures in the gallery uploaded through MaxiGallery, that folder will exist.
    3. CHMOD the folder to proper value, probably 777.
    4. Transfer new pictures to the /assets/galleries/89 folder using FTP or what ever file transfer method you want to use.
    5. CHMOD the files to proper value, probably 666.
    6. Go to picture management in MaxiGallery and hit the "Resync Gallery" button.



    When I leave as "777", and Resync, for some reason, MaxiGallery is throwing a bunch of "1"s in front and generating numerous thumbnails (see attached)

    Here is my call >> [!MaxiGallery? &display=`embedded` &embedtype=`slimbox` &max_pic_size=`600x600` &max_thumb_size=`150` &css=`assets/templates/modxhost/styles.css` &disable_rightclick=`1` &thumb_use_dropshadow=`0` &pics_per_row=`7` &pics_per_page=`56` &pictureTpl=`@FILE:assets/snippets/maxigallery/templates/picturetpl.html` &upload_field_count=`50` &pageNumberTpl=`@FILE:assets/snippets/maxigallery/templates/pagenumbertpl.html` &ftp_base_dir=`/public_html/` &ftp_pass=`MYPASSWORD` &ftp_server=`ftp.MYDOMAINNAME.com` &ftp_user=`MYUSERNAME` &ftp_port=`2222`!]

    Does any one know why is would be generating all these extra Thumbnails??

    Thanks in advance for you responses.

    L
      • 16905
      • 46 Posts
      Please anyone? Even something you THINK MAY work?

      Thanks
        • 22427
        • 793 Posts
        It's a bug. Read the following thread for a solution:
        https://forums.modx.com/index.php?topic=40443.0%3bwap2
          • 16905
          • 46 Posts
          A long overdue thanks, ottogal.