[[migxResourceMediaPath? &pathTpl=`assets/gallery/{alias}/`&createFolder=`1`]]<img src="[[*hoofdafbeelding]]" alt="[[*pagetitle]]">
[[!getResources?
&parents=`[[*id]]`
&tpl=`gallery_row_tpl`
&includeTVs=`1`
&processTVs=`1`
&tvPrefix=``
&limit=`0`
&sortby=`RAND()`
]]
<img src="[[+hoofdafbeelding]]" alt="[[+pagetitle]]">
[[!getImageList? &tvname=`image` &tpl=`galleryImage` &limit=`1` &docid=`[[+id]]` ]]
This question has been answered by Bruno17. See the first response.
assets/gallery/[[+alias]]/[[+hoofdafbeelding]]
[[migxResourceMediaPath? &pathTpl=`assets/gallery/{alias}/`&createFolder=`1`]]
[[!getResources?
&parents=`[[*id]]`
&tpl=`gallery_row_tpl`
&includeTVs=`1`
&processTVs=`0`
&tvPrefix=``
&limit=`0`
&sortby=`RAND()`
]]
<img src="assets/gallery/[[+alias]]/[[+overzichtafbeelding]]" alt="[[+pagetitle]]">
[[!migxResourceMediaPath? &pathTpl=`assets/gallery/{alias}/` &createFolder=`1`]]
&prepareTVs=`0`
[[!getResources?
&parents=`[[*id]]`
&tpl=`gallery_row_tpl`
&includeTVs=`1`
&processTVs=`0`
&prepareTVs=`0`
&tvPrefix=``
&limit=`0`
&sortby=`RAND()`
]]
[[migxLoopCollection?
&classname=`modResource`
&joins=`[{"alias":"Image","classname":"modTemplateVarResource","on":"contentid=modResource.id and tmplvarid=TheIDofYourTV"}]`
&where=`{"parent":"[[*id]]"}`
&tpl=`gallery_row_tpl`
]]<img src="assets/gallery/[[+alias]]/[[+Image_value]]" alt="[[+pagetitle]]">
<img src="assets/gallery/[[+alias]]/[[+overzichtafbeelding:phpthumbof=`w=752&h=400&zc=1`]]" alt="[[+pagetitle]]">
[[!phpthumbof? &input=`assets/gallery/[[+alias]]/[[+overzichtafbeelding]]` &options=`w=752&h=400&zc=1`]]