TYPO3 use FAL caption for images

From snippet wiki
Jump to navigation Jump to search

At the current 6.2 version one still needs some lines to display the filemetadata of images:

tt_content.image.20 {
    caption.1.1.data = file:current:caption
    rendering.singleNoCaption.fallbackRendering.10.if.isTrue.data = file:current:caption
    preRenderRegisters.allImageCaptions.cObject.renderObj.data = file:current:caption
}