[[!getResources? &parents=`[[getResourceField? &id=`[[!getUrlParam? &name=`docId` &default=`1` &int=`1`]]`]]` &resources=`-13,-18,-156,-75,-81,-166, [[!getUrlParam? &name=`docId` &default=`1` &int=`1`]]` &limit=`0` &depth=`0` &sortby=`menuindex` &sortdir=`ASC` &tplWrapper=`ApiWrapperTpl` &tpl=`ApiSingleResourceTpl` &includeTVs=`1` &includeContent=`1` &hideContainers=`0` &processTVs=`1` &outputSeparator=`, ` ]]
{
(...)
"media" : {
[[+tv.slideshow:isnot=``:then=`
"slideshow" : [
[[!getImageList?
&tvname=`slideshow`
&tpl=`ApiSlideshowTpl`
&docid=`[[+id]]´
&processTVs=`0`
]]
],
`:else=`"slideshow" : [],`]]
[[+tv.static-image:isnot=``:then=`
"banner" : "[[+tv.static-image]]"
`:else=`"banner" : ""`]]
}
(...)
"[[+image:phpthumbof=`w=120&h=120`]]"
This question has been answered by legues. See the first response.