Skip to content

Instantly share code, notes, and snippets.

@machwatt
Created March 9, 2015 08:08
Show Gist options
  • Save machwatt/fd8f2ce545c4f64d7330 to your computer and use it in GitHub Desktop.
Save machwatt/fd8f2ce545c4f64d7330 to your computer and use it in GitHub Desktop.
sf_filecollection_gallery List.html for rendering all items as ul
{namespace s=SKYFILLERS\SfFilecollectionGallery\ViewHelpers}
<f:layout name="Default"/>
<f:section name="main">
<f:if condition="{imageItems}">
<ul class="fadeImages">
<f:for each="{imageItems}" as="object">
<li class="sf-filecollection-gallery-image-container">
<f:image image="{object}" width="{settings.image.width}" height="{settings.image.height}" alt="{object.properties.alternative}"
title="{object.properties.title}"/>
</li>
</f:for>
</ul>
</f:if>
</f:section>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment