Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
render images in TYPO3 7.6 using TypoScript and File Abstraction Layer in Text/Media Content Element
lib.startPageOwlSliderContent = CONTENT
lib.startPageOwlSliderContent {
wrap = |
table = tt_content
select {
languageField = sys_language_uid
where = colPos = 1
orderBy = sorting
pidInList = {$pageSliderContentPageID}
}
renderObj = COA
renderObj{
wrap = <div class="slider-item">|</div>
10 = FILES
10 {
references {
table = tt_content
uid.data = uid
fieldName = assets
}
renderObj = IMAGE
renderObj {
wrap = <div class="slider-item-image">|</div>
file.import.data = file:current:originalUid
file.width = 1920c
file.height = 600c
}
}
20 = TEXT
20.wrap = <div class="slider-item-text">|</div>
20.field = bodytext
}
}
@rubiomaira

This comment has been minimized.

Copy link

commented Jul 19, 2016

hola

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.