I have a "single" entry which has a "entries" field. The related entries have a image field of the "Assets" type.
In the template, i want to display the image from each of the related entries. I figured i could do the following
{% for relatedImage in entry.relatedImages %}
{% for images in relatedImage %}
<div><img src="{{ images.url }}" alt="{{ asset.title }}" /></div>
{% endfor %}
{% endfor %}
Though not only does it not work, but it is probably pretty inefficient too. Whilst I'm here, how do people go about inspecting what you get from your vars? Is there a Twig/Craft equivalent to PHP's var_dump('relatedImage')
?!
Any ideas most welcome!