-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #69 from b13/task/site-sets
[TASK] provide site sets
- Loading branch information
Showing
6 changed files
with
68 additions
and
61 deletions.
There are no files selected for viewing
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,2 @@ | ||
name: b13/picture | ||
label: Picture |
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,32 @@ | ||
plugin.tx_picture { | ||
# Default for adding of images as webp. | ||
addWebp = 0 | ||
|
||
# Default for render images as webp only. | ||
onlyWebp = 0 | ||
|
||
# Default for adding retina images. | ||
useRetina = 0 | ||
|
||
# Default for using lossless compression for webp. | ||
lossless = 0 | ||
|
||
# Works only in combination with useRetina = 1. | ||
# The key must be the multiplier of the image size and the value the multiplier string added in the srcset | ||
# attribute's value. E.g. add "3 = 3x" to array: | ||
# retina.2 = 2x | ||
# retina.3 = 3x | ||
retina { | ||
2 = 2x | ||
} | ||
|
||
# Breakpoints for media query specified in the sources attribute: | ||
# breakpoints { | ||
# sm = 640 | ||
# md = 1024 | ||
# lg = 1280 | ||
# } | ||
|
||
# We use the same lazyLoading setting as is the default for the website | ||
lazyLoading = {$styles.content.image.lazyLoading} | ||
} |
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,4 @@ | ||
name: b13/picture/test | ||
label: Picture Test | ||
dependencies: | ||
- b13/picture |
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,27 @@ | ||
plugin.tx_picture { | ||
retina { | ||
2 = 2x | ||
3 = 3x | ||
} | ||
|
||
breakpoints { | ||
sm = 640 | ||
md = 1024 | ||
lg = 1280 | ||
} | ||
} | ||
|
||
imagetest = PAGE | ||
imagetest { | ||
typeNum = 1573387706874 | ||
|
||
10 = FLUIDTEMPLATE | ||
10.file = EXT:picture/Resources/Private/Templates/Test.html | ||
|
||
headerData.1573465962914 = TEXT | ||
headerData.1573465962914.value ( | ||
<style> | ||
code { display: block; margin: 1em 0; } | ||
</style> | ||
) | ||
} |
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 |
---|---|---|
@@ -1,32 +1 @@ | ||
plugin.tx_picture { | ||
# Default for adding of images as webp. | ||
addWebp = 0 | ||
|
||
# Default for render images as webp only. | ||
onlyWebp = 0 | ||
|
||
# Default for adding retina images. | ||
useRetina = 0 | ||
|
||
# Default for using lossless compression for webp. | ||
lossless = 0 | ||
|
||
# Works only in combination with useRetina = 1. | ||
# The key must be the multiplier of the image size and the value the multiplier string added in the srcset | ||
# attribute's value. E.g. add "3 = 3x" to array: | ||
# retina.2 = 2x | ||
# retina.3 = 3x | ||
retina { | ||
2 = 2x | ||
} | ||
|
||
# Breakpoints for media query specified in the sources attribute: | ||
# breakpoints { | ||
# sm = 640 | ||
# md = 1024 | ||
# lg = 1280 | ||
# } | ||
|
||
# We use the same lazyLoading setting as is the default for the website | ||
lazyLoading = {$styles.content.image.lazyLoading} | ||
} | ||
@import 'EXT:picture/Configuration/Sets/Picture/setup.typoscript' |
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 |
---|---|---|
@@ -1,29 +1,2 @@ | ||
@import 'EXT:picture/Configuration/TypoScript/setup.typoscript' | ||
|
||
plugin.tx_picture { | ||
retina { | ||
2 = 2x | ||
3 = 3x | ||
} | ||
|
||
breakpoints { | ||
sm = 640 | ||
md = 1024 | ||
lg = 1280 | ||
} | ||
} | ||
|
||
imagetest = PAGE | ||
imagetest { | ||
typeNum = 1573387706874 | ||
|
||
10 = FLUIDTEMPLATE | ||
10.file = EXT:picture/Resources/Private/Templates/Test.html | ||
|
||
headerData.1573465962914 = TEXT | ||
headerData.1573465962914.value ( | ||
<style> | ||
code { display: block; margin: 1em 0; } | ||
</style> | ||
) | ||
} | ||
@import 'EXT:picture/Configuration/Sets/Picture/setup.typoscript' | ||
@import 'EXT:picture/Configuration/Sets/PictureTest/setup.typoscript' |