[!!!][FEATURE] Streamline Fluid Styled Content and CSS Styled Content
[Packages/TYPO3.CMS.git] / typo3 / sysext / fluid_styled_content / Resources / Private / Partials / Media / Type / Image.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 <figure class="image">
3 <f:if condition="{file.link}">
4 <f:then>
5 <f:link.typolink parameter="{file.link}" title="{file.title}">
6 <f:render partial="Media/Rendering/Image" arguments="{file: file, dimensions: dimensions, settings: settings}" />
7 </f:link.typolink>
8 </f:then>
9 <f:else>
10 <f:if condition="{data.image_zoom}">
11 <f:then>
12 <ce:link.clickEnlarge image="{file}" configuration="{settings.media.popup}">
13 <f:render partial="Media/Rendering/Image" arguments="{file: file, dimensions: dimensions, settings: settings}" />
14 </ce:link.clickEnlarge>
15 </f:then>
16 <f:else>
17 <f:render partial="Media/Rendering/Image" arguments="{file: file, dimensions: dimensions, settings: settings}" />
18 </f:else>
19 </f:if>
20 </f:else>
21 </f:if>
22 <f:if condition="{file.description}">
23 <figcaption class="image-caption">
24 {file.description}
25 </figcaption>
26 </f:if>
27 </figure>
28 </html>