0

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?

Siriena
  • 57
  • 3

1 Answers1

0

Maybe using related.mediaPreviews instead of related.media.

Karsten
  • 61
  • 2