Fixed the tv issue I set tv prefix to blank and then i removed tv. from the tpl and it worked. All worked other than the Gallery.
Here is the get resources call:
{
[[!getResources?
&parents=[[*id]]
&tpl=propertyFeed.tpl
&tplLast=propertyFeedLast.tpl
&includeTVs=1
&processTVs=1
&tvPrefix=``
&includeContent=1
&limit=0
]]
}
Here is the tpl (last is the same but without a comma at the end):
“[[+propertyID]]”: {
“pagetitle”: [[!if:JSONencode? &subject=[[*dev.postcode]]
&operator=notempty
&then=[[+pagetitle]], <a href="https://maps.google.com/maps?q=[[+dev.postcode]]" style="color: #d86802;" target="blank">[[+dev.postcode]]</a>
&else=[[+pagetitle]]
]],
“longtitle”: “[[+longtitle]]”,
“desc”: “[[+description]]”,
“alias”: “[[+alias]]”,
“featured”: “[[+dev.featured]]”,
“luxury”: “[[+dev.luxury]]”,
“propStatus”: “[[+dev.status]]”,
“featuredVideo”: “[[+dev.featuredVideo]]”,
“company”: “[[+dev.company]]”,
“thumb-image”: “[[++site_url]][[+dev.thumb-image]]”,
“thumb-video”: “[[+dev.thumb-video]]”,
“thumb-videoLink”: “[[+dev.thumb-videoLink]]”,
“thumb-videoID”: “[[+dev.thumb-videoID]]”,
“mainImage”: “[[++site_url]][[+dev.mainImage]]”,
“galleryLarge”: [ [[$imageArrayLarge:stripNL:stripLastComma]] ],
“galleryThumb”: [ [[$imageArrayThumb:stripNL:stripLastComma]] ],
“beds”: “[[+dev.beds]]”,
“price”: “[[+dev.price]]”,
“address”: “[[+dev.address]]”,
“location”: “[[+dev.location]]”,
“postcode”: “[[+dev.postcode]]”,
“mapLink”: “[[+dev.mapLink]]”,
“map”: [[!If:JSONEncode? &subject=[[+dev.map]]
&operator=notempty
&then=<div class="dev-info-map">[[+dev.map]]</div>
&else=]], "tel": "[[+dev.tel]]", "email": "[[+dev.email]]", "opening": "[[+dev.opening]]", "brochure": [[!if:JSONEncode? &subject=`[[+dev.brochure]]` &operator=`notempty` &then=`<div class="dev-info-link"><a href="[[++site_url]][[+dev.brochure]]" target="_blank" style="text-decoration: none;"><i class="fas fa-download"></i>  View brochure</a></div>` &else=
]],
“directions”: “[[+dev.directions]]”,
“availability”: “[[+dev.availability]]”,
“content”: [[+content:JSONEncode]]
},
Here is the large gallery chunk (thumb is the exact same just smaller images):
[[Gallery? &album=
[[+dev.gallery]]&thumbWidth=
1500&thumbHeight=
851&thumbQuality=
75&thumbTpl=
imageArray.tpl]]
The tpl for this just formats the gallery so it goes into an Array.
Hope this is enough and sorry about the formatting of the code.