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
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.
Perfect that works! Thanks!!
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
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.
I think, there are some parts in that example-setup, which would need an update.
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
...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.]
what is your system-setting for 'new_folder-permission' ?
And perhaps this commit does fix your issue:
https://github.com/Bruno17/MIGX/commit/e50371a52b4621c081afd6f648021ef4b9f5811f