Разобрался попозже в комментариях свой вариант этой галереи или статью напишу...\
настройки для мигикс
-----
Formtabs
[{"MIGX_id":1,"caption":"\u0424\u0430\u0439\u043b","print_before_tabs":"0","fields":[{"MIGX_id":1,"field":"title","caption":"\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a","description":"","description_is_code":"0","inputTV":"","inputTVtype":"","validation":"","configs":"","sourceFrom":"config","sources":"[]","inputOptionValues":"","default":"","pos":1},{"MIGX_id":2,"field":"image","caption":"\u0424\u0430\u0439\u043b","description":"","description_is_code":"0","inputTV":"","inputTVtype":"file","validation":"","configs":"","sourceFrom":"migx","sources":"[]","inputOptionValues":"","default":"","pos":2},{"MIGX_id":3,"field":"description","caption":"\u0421\u0441\u044b\u043b\u043a\u0430","description":"","description_is_code":"0","inputTV":"","inputTVtype":"","validation":"","configs":"","restrictive_condition":"","display":"","sourceFrom":"config","sources":"","inputOptionValues":"","default":"","useDefaultIfEmpty":"0","pos":3}],"pos":1}]
Columns
[{"MIGX_id":1,"header":"ID","dataIndex":"MIGX_id","width":10,"renderer":"","sortable":"false","show_in_grid":1},{"MIGX_id":2,"header":"\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a","dataIndex":"title","width":20,"sortable":"false","show_in_grid":1,"renderer":"","clickaction":"","selectorconfig":"","renderchunktpl":"","renderoptions":"[]"},{"MIGX_id":3,"header":"\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435","dataIndex":"link","width":"","sortable":"false","show_in_grid":1,"renderer":"this.renderChunk","clickaction":"","selectorconfig":"","renderchunktpl":"<img src=\"\/assets\/files\/[[+_request.id]][[+_request.resource_id]]\/[[+image]]\" width=170 \/>","renderoptions":"[]"},{"MIGX_id":4,"header":"\u0410\u043a\u0442\u0438\u0432\u043d\u0430\u044f \u0441\u0441\u044b\u043b\u043a\u0430","dataIndex":"description","width":20,"sortable":"false","show_in_grid":1,"renderer":"","clickaction":"","selectorconfig":"","renderchunktpl":"","renderoptions":"[]"}]
плагин для создания папки после сохранения
//$id = $modx->resource->get('id');
$id = $resource->get('id');
$root_path = $_SERVER['DOCUMENT_ROOT'];
mkdir("$root_path/assets/files/$id", 0700);
//echo $_SERVER['DOCUMENT_ROOT'];
Actionbuttons только -> uploadfiles
Результат: