[[!migx? &configs=`mygallery` &tpl=`@CODE:<img src="[[+image]]" />` &sortConfig=`[{"sortby":"RAND()"}]` &where=`{"published":"1"}`]]
[[!migx? &configs=`doodles` &tpl=`@CODE:[[+name]]"` ]]
This question has been answered by Bruno17. See the first response.