We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12410
    • 353 Posts
    Hi,
    I tried creating the directory via modx file manager but the '1' directory doesn't get created when 1 use 'Add Image > image'. See attached
    Using the ajax upload 'Upload Files' does work and does create the '1' directory though
      • 4172
      • 5,888 Posts
      did you add the property &createFolder=`1` ?

      [[migxResourceMediaPath? &createFolder=`1` &pathTpl=`assets/resourceimages/{id}/`]]


      you could also write a plugin for OnDocFormSave, which does create the directory, when the Resource was created.
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 12410
        • 353 Posts
        Perfect that works! Thanks!!
          • 12410
          • 353 Posts
          Hi ,
          As per the attached are the X symbols in the deleted column supposed to delete the row? They're not clickable in Firefox. Is "Load from Media Source" intended to load all the images from the media source and is "undefined" supposed to be in the deleted column for images added via the "Add Image" button?
          I just want to make sure I understand the intended logic of it. Finally where can I theme the Ajax Upload window please?
          Thanks
            • 12410
            • 353 Posts
            Just wanted to say that I love Migx so thanks for developing it! I just want to make sure I know the intended functionality of it.
              • 4172
              • 5,888 Posts
              I think, there are some parts in that example-setup, which would need an update.
                -------------------------------

                you can buy me a beer, if you like MIGX

                http://webcmsolutions.de/migx.html

                Thanks!
                • 12410
                • 353 Posts
                Hi,
                When I try use the Ajax Uploader there seems to be an 8M upload limit on files . How can I change this. It appears specific to Migx and not a php.ini or modx system setting.
                See attached
                Thanks
                  • 33540
                  • 40 Posts
                  Quote from: Bruno17 at Jun 09, 2014, 09:16 AM
                  did you add the property &createFolder=`1` ?

                  [[migxResourceMediaPath? &createFolder=`1` &pathTpl=`assets/resourceimages/{id}/`]]


                  you could also write a plugin for OnDocFormSave, which does create the directory, when the Resource was created.


                  Bruno, please help...

                  When I throw the ajaxuploader everything is ok.
                  When I want to send an file through the "add" button - I have a problem with chmod, what can I do to constitute a directory with the appropriate permissions.

                  Can I do something about it? I am a newbie to the REVO

                  Please, precise instructions.
                  I need to constitute a separate directories.
                  I'm doing the instructions here ..
                  http://rtfm.modx.com/extras/revo/migx/migx.tutorials/migx.use-resource-specific-mediasource-and-multifile-uploader

                  Regards,Artur
                    • 12410
                    • 353 Posts
                    ...just noticed that folders created using this approach on modxcloud hosting have a chmod of 341 preventing images from uploading via Modx Browser? Anywhere I can fix that? Ideally I want all dynamically created folders chmod automatically set to 777.
                    assets/resourceimages/ was initially set to 777 btw
                    Thanks [ed. note: howster last edited this post 11 years, 8 months ago.]
                      • 4172
                      • 5,888 Posts
                      what is your system-setting for 'new_folder-permission' ?

                      And perhaps this commit does fix your issue:
                      https://github.com/Bruno17/MIGX/commit/e50371a52b4621c081afd6f648021ef4b9f5811f
                        -------------------------------

                        you can buy me a beer, if you like MIGX

                        http://webcmsolutions.de/migx.html

                        Thanks!