[!!!][FEATURE] Streamline Fluid Styled Content and CSS Styled Content
[Packages/TYPO3.CMS.git] / typo3 / sysext / fluid_styled_content / Resources / Private / Partials / Media / Gallery.html
1 <html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" xmlns:ce="http://typo3.org/ns/TYPO3/CMS/FluidStyledContent/ViewHelpers" data-namespace-typo3-fluid="true">
2 <f:if condition="{gallery.rows}">
3 <div class="ce-gallery{f:if(condition: data.imageborder, then: ' ce-border')}" data-ce-columns="{gallery.count.columns}" data-ce-images="{gallery.count.files}">
4 <f:if condition="{gallery.position.horizontal} == 'center'">
5 <div class="ce-outer">
6 <div class="ce-inner">
7 </f:if>
8 <f:for each="{gallery.rows}" as="row">
9 <div class="ce-row">
10 <f:for each="{row.columns}" as="column">
11 <f:if condition="{column.media}">
12 <div class="ce-column">
13 <f:render partial="Media/Type" arguments="{file: column.media, dimensions: column.dimensions, data: data, settings: settings}" />
14 </div>
15 </f:if>
16 </f:for>
17 </div>
18 </f:for>
19 <f:if condition="{gallery.position.horizontal} == 'center'">
20 </div>
21 </div>
22 </f:if>
23 </div>
24 </f:if>
25 </html>