Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Use TYPO3 7 LTS crop feature in TypoScript
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
You can’t perform that action at this time.