[[migxResourceMediaPath? &pathTpl=`assets/images/gallery_images/{id}/`]]
This question has been answered by louveblr. See the first response.
"inputTV":"anyImageTv"
[{"caption":"test"},{"fields":[ {"field":"image","caption":"Image","inputTVtype":"image","sourceFrom":"migx"}, {"field":"image2","caption":"Image","inputTVtype":"image","sourceFrom":"config","sources":"[{\"MIGX_id\":\"1\",\"context\":\"web\",\"sourceid\":\"3\"},{\"MIGX_id\":\"2\",\"context\":\"de\",\"sourceid\":\"3\"}]"}, {"field":"test2","caption":"test2"}]}]
[{"caption":"Image", "fields": [ {"field":"set","caption":"Set"}, {"field":"description","caption":"Description"}, {"field":"image","caption":"Image","inputTVtype":"image","sourceFrom":"migx"} ] }]
[{ "header": "Set", "sortable": "true", "dataIndex": "set" },{ "header": "Description", "sortable": "true", "dataIndex": "description" },{ "header": "Image", "sortable": "false", "dataIndex": "image","renderer": "this.renderImage" }]
$this->ctx
https://github.com/MODX-Club/modx-Dropbox/blob/master/core/components/dropbox/model/dropbox/dropboxmediasource.class.php#L1275I am very bad at programming. Please tell me how it should be.
seems for whatever reason
$this->ctx
isn't a context-object at this time.