I have an Asset source "Image link gallery" with two custom fields for each Asset: "image title" (text field) & "Image link" (Entries field - can link to multiple sources).
I have a Matrix block "Image link Gallery" with an Assets field "Images" which selects from this Asset source.
I want to be be able to select a bunch of images and return the image, title, and link to the entry.
{% for imageItem in block.images %}
<a href="{{ imageItem.imageLink.uri }}">
<img src="{{ imageItem.url }}" alt="">
<span>{{ imageItem.imageTitle }}</span>
</a>
{% endfor %}
This is returning all the images and titles but no links.
Where am I going wrong?