So after reading how to use MIGX with getResources and reading a few posts I finally managed to get it working but before I could start celebrating a small issue came up.
MIGX is returning each image but it's only returning the pagetitle and content of the first record.
Here is the page rendered with the tpl I'm using.
As you can see my tpl is being applied but it's not returning all the info for the second and third item.
Here is another page without the tpl same exact getResources and MIGX calls.
Here you can see my getResources call and MIGX are both returning all the data but for some reason when using the tpl it only works on the first MIGX record.
Here is my getResources call:
This is my the getresources-migx-tpl:
And my migx-gallery-tpl:
<li data-id="term-[[+idx]]" data-value="[[+pagetitle]]">
<img src="[[+project-image:phpthumbof=`w=230&h=230`]]" alt="[[+pagetitle]]" />
<a href="[[~[[+id]]]]"><div class="work_view" data-id="[[+idx]]"></div></a>
Any help would be greatly appreciated.
[ed. note: benmarte last edited this post 8 years ago.]