-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX] support enlarge on click for CE:s 'Images' and 'Image and te…
…xt' (#388)
- Loading branch information
1 parent
565f7fa
commit 28a1b50
Showing
2 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
Resources/Private/Partials/FluidStyledContent/Media/Gallery.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<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"> | ||
<f:if condition="{gallery.rows}"> | ||
<div class="ce-gallery{f:if(condition: data.imageborder, then: ' ce-border')}{f:if(condition:data.image_zoom, then: ' lightbox__wrp-{data.uid}')}" data-ce-columns="{gallery.count.columns}" data-ce-images="{gallery.count.files}"> | ||
<f:if condition="{gallery.position.horizontal} == 'center'"> | ||
<div class="ce-outer"> | ||
<div class="ce-inner"> | ||
</f:if> | ||
<f:for each="{gallery.rows}" as="row"> | ||
<div class="ce-row"> | ||
<f:for each="{row.columns}" as="column"> | ||
<f:if condition="{column.media}"> | ||
<div class="ce-column"> | ||
<f:render partial="Media/Type" arguments="{file: column.media, dimensions: column.dimensions, data: data, settings: settings}" /> | ||
</div> | ||
</f:if> | ||
</f:for> | ||
</div> | ||
</f:for> | ||
<f:if condition="{gallery.position.horizontal} == 'center'"> | ||
</div> | ||
</div> | ||
</f:if> | ||
</div> | ||
</f:if> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters