Skip to content

Instantly share code, notes, and snippets.

@deichbrise
Last active January 4, 2017 13:21
Show Gist options
  • Save deichbrise/c38516b45986be816e37bfb8edf69a7f to your computer and use it in GitHub Desktop.
Save deichbrise/c38516b45986be816e37bfb8edf69a7f to your computer and use it in GitHub Desktop.
<f:groupedFor each="{objects}" as="images" groupBy="{groupBy}" groupKey="group">
<f:if condition="{group} == {category}">
<f:image src="fileadmin/uploads/{images.0}.jpeg />
</f:if>
</f:groupedFor>
<f:render partial="FirstImagePartial" arguments={objects: trip.catalogTripImages, groupBy: 'category', category: 'REISEBEGLEITER'} />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment