I’ve created a parent resource with 2 children resources. I’ve used a TV (image as input) for the children and use getresources call to display the images from the TV’s using a chunk tpl. When I display the parent I get 2 images, except both images are the same, while i’ve set both TV’s in each child as a different image.
The resource call is in the template code of the parent:
[[!getResources? &parents=`[[*id]]` &limit=`5` &tpl=`gallery_photo` &includeContent=`1` &includeTVs=`1`]]
The chunk code is:
<div class="kf-gallery-col col-xs-12 col-sm-12 col-md-6 col-lg-4 all hot-coffee">
<div class="kf-gallery-item element-anim-1 scroll-animate" data-animate="active">
<div class="image kf-image-hover">
<a href="[[*gallery_photo]] class="has-popup-gallery"><img src="[[*gallery_photo]]" alt="" /></a>
</div>
<div class="desc">
<div class="name">
<div class="value"><h1>[[*gallery_title]]</h1></div>
</div>
<div class="subname">
<div class="value">hot coffee</div>
</div>
</div>
</div>
</div>
MODX 3.0.1-pl
Getresources getresources-1.7.0-pl