[BUGFIX] Apply image cropping to click-enlarged images
[Packages/TYPO3.CMS.git] / typo3 / sysext / fluid_styled_content / Configuration / TypoScript / Static / Setup / lib.fluidContent.ts
1 # Default configuration for content elements which are using FLUIDTEMPLATE directly
2 lib.fluidContent >
3 lib.fluidContent = FLUIDTEMPLATE
4 lib.fluidContent {
5         templateName = Default
6         templateRootPaths {
7                 0 = EXT:fluid_styled_content/Resources/Private/Templates/
8                 10 = {$styles.templates.templateRootPath}
9         }
10         partialRootPaths {
11                 0 = EXT:fluid_styled_content/Resources/Private/Partials/
12                 10 = {$styles.templates.partialRootPath}
13         }
14         layoutRootPaths {
15                 0 = EXT:fluid_styled_content/Resources/Private/Layouts/
16                 10 = {$styles.templates.layoutRootPath}
17         }
18         settings {
19                 defaultHeaderType = {$styles.content.defaultHeaderType}
20
21                 media {
22                         popup {
23                                 bodyTag = <body style="margin:0; background:#fff;">
24                                 wrap = <a href="javascript:close();"> | </a>
25                                 width = {$styles.content.textmedia.linkWrap.width}
26                                 height = {$styles.content.textmedia.linkWrap.height}
27                                 crop.data = file:current:crop
28
29                                 JSwindow = 1
30                                 JSwindow {
31                                         newWindow = {$styles.content.textmedia.linkWrap.newWindow}
32                                         if.isFalse = {$styles.content.textmedia.linkWrap.lightboxEnabled}
33                                 }
34
35                                 directImageLink = {$styles.content.textmedia.linkWrap.lightboxEnabled}
36
37                                 linkParams.ATagParams.dataWrap =  class="{$styles.content.textmedia.linkWrap.lightboxCssClass}" rel="{$styles.content.textmedia.linkWrap.lightboxRelAttribute}"
38                         }
39                 }
40         }
41 }