Initial commit
[TYPO3CMS/Extensions/roq_newsevent.git] / Resources / Private / Partials / Detail / MediaDam.html
1 {namespace n=Tx_News_ViewHelpers}
2
3 <div class="mediaelement">
4 <n:format.dam as="dam" uid="{mediaElement.uid}">
5 <f:if condition="{settings.detail.media.image.lightbox}">
6 <f:then>
7 <a rel="{settings.detail.media.image.lightbox}" title="{dam.caption}" href="{f:uri.image(src:'{dam.file_path}{dam.file_name}' maxWidth:'800')}">
8 <f:image src="{dam.file_path}{dam.file_name}" title="{dam.title}" alt="{dam.alt_text}" maxWidth="{settings.detail.media.image.maxWidth}" />
9 </a>
10 </f:then>
11 <f:else>
12 <f:image src="{dam.file_path}{dam.file_name}" title="{dam.title}" alt="{dam.alt_text}" maxWidth="{settings.detail.media.image.maxWidth}" />
13 </f:else>
14 </f:if>
15 </n:format.dam>
16 </div>