Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save josefglatz/6163cc59ffe0b80905f5 to your computer and use it in GitHub Desktop.
Save josefglatz/6163cc59ffe0b80905f5 to your computer and use it in GitHub Desktop.
lib.View.SingleSujet = FILES
lib.View.SingleSujet {
references {
table = tx_news_domain_model_news
uid.data = GP:tx_news_pi1|news
fieldName = fal_media
}
begin = 0
maxItems = 1
renderObj = IMAGE
renderObj {
file.import.data = file:current:publicUrl
file.maxW = 1100
wrap = |
}
}
@typo3biswa
Copy link

Hi,
can you update how we can get first image for each news item for list view?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment