diff --git a/typo3/sysext/fluid_styled_content/Configuration/TypoScript/Styling/setup.txt b/typo3/sysext/fluid_styled_content/Configuration/TypoScript/Styling/setup.txt index e6d411cfe95d53d7abe067496fa86cccc0fa3562..afa893658bb869b9db5cae7a86946b61c23325bd 100644 --- a/typo3/sysext/fluid_styled_content/Configuration/TypoScript/Styling/setup.txt +++ b/typo3/sysext/fluid_styled_content/Configuration/TypoScript/Styling/setup.txt @@ -5,7 +5,7 @@ plugin.tx_frontend._CSS_DEFAULT_STYLE ( .ce-table td, .ce-table th { vertical-align: top; } - .ce-textpic, .ce-nowrap .ce-bodytext, .ce-gallery, .ce-row, .ce-uploads li, .ce-uploads div { overflow: hidden; } + .ce-textpic, .ce-image, .ce-nowrap .ce-bodytext, .ce-gallery, .ce-row, .ce-uploads li, .ce-uploads div { overflow: hidden; } .ce-left .ce-gallery, .ce-column { float: left; } .ce-center .ce-outer { position: relative; float: right; right: 50%; } diff --git a/typo3/sysext/fluid_styled_content/Resources/Private/Templates/Image.html b/typo3/sysext/fluid_styled_content/Resources/Private/Templates/Image.html index f2aaa7173502c4593778b117dce60aaf45315ad9..56f658cc851c5506ef7d8a55a7480a8313269bc9 100644 --- a/typo3/sysext/fluid_styled_content/Resources/Private/Templates/Image.html +++ b/typo3/sysext/fluid_styled_content/Resources/Private/Templates/Image.html @@ -2,7 +2,9 @@ <f:layout name="Default" /> <f:section name="Main"> - <f:render partial="Media/Gallery" arguments="{_all}" /> + <div class="ce-image ce-{gallery.position.horizontal} ce-{gallery.position.vertical}"> + <f:render partial="Media/Gallery" arguments="{_all}" /> + </div> </f:section> </html>