Hi guys,
I’m having somewhat of a weird problem. I’m building a website that Ditto’s through the children of a certain page. This isn’t anything fancy, it should read out a templatevar (projectPicture), the title and the description. Funny thing: it isn’t outputting the image. I tried having the template-var output an entire image-tag, or just plain "default", but it doesn’t output anything at all.
My Ditto-template (chunk looks like this):
<div class="project">
<a href="[[~[[+id]]]]"><img src="[[+projectPicture]]" /></a>
<h3>[[+pagetitle]]</h3>
<p>[[+description]]<br />
<a href="[[~[[+id]]]]">lees verder »</a></p>
</div>
Am I missing something?
Thanks!
SOLVED
Ok, had to add &includeContent=`1` to the getResource call as well as includeTVs=`1`... Still don’t quite know why, but: thereifixedit