0
votes

i'm trying to output just one image for related news.

Right now i'm using this

<f:render partial="Detail/MediaContainer" arguments="{media: related.media, settings:settings}" />

With this method i get all images from the news record. How can i get just one image, preferably just the one which is marked with "just show in listview".

Can anyone help?

1

1 Answers

0
votes

Maybe using related.mediaPreviews instead of related.media.