I have a MIGX TV in a MODX 3 site for which one of the fields is another MIGX setup, which includes an image. When the image is not connected to the system default media source, the thumbnail doesn’t get displayed in the row with columns, even though it does show up when editing the row. When I load the embedded MIGX setup by itself in a resource, not inside another MIGX tv, the image thumbnails show up just fine.
My MODX default media source is 9 (an image directory). The root file directory is 1, as usual.
Putting the embedded MIGX setup by itself as a TV for the resource shows this:
But for the dual-MIGX TV:
When I insert a row there, the same MIGX config loads, but the image thumbnail doesn’t:
In the first case above, the thumbnail is referenced in the HTML with the correct media source ID at the end (1):
![]()
In the second case, it has the wrong media source (the MODX default source, 9):
![]()
and so it doesn’t load.
I’ve tried updating the parent MIGX config with media source 1 in the settings tab, and I also assigned media source 1 to the field in the parent MIGX config that contains the embedded MIGX TV. Neither of these has any effect on the problem.
___________________________________
And, the reason I even went down this road (using the root media source 1 for the images) is because I want the image directory media source 9 (the images directory) to be the default one, but with the embedded setup, if I set the image field to use media source 9, the data that gets output by getImageList does not have the image names with the full path, only the path relative to the media source, even when I put media source 9 everywhere I can find in both MIGX configs.
Environment
MODX 3.1.2, MIGX 3.0.2-beta1


