Last active
June 17, 2016 10:32
-
-
Save manuelselbach/5e57dcbe8196b46ad2d759dc2c4e8b91 to your computer and use it in GitHub Desktop.
Use TYPO3 7 LTS crop feature in TypoScript
This file contains hidden or 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
lib.headerimage = COA | |
lib.headerimage { | |
10 = FILES | |
10 { | |
references { | |
data = levelmedia:-1, slide | |
listNum = 0 | |
} | |
renderObj = IMG_RESOURCE | |
renderObj { | |
file { | |
import.data = file:current:publicUrl | |
crop.data = file:current:crop | |
maxW = 1920 | |
params = -quality 70 | |
ext = jpg | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment