Re: [TYPO3-media] images with vw

Roman Pretory roman at pretory.at
Mon Jul 3 09:01:01 CEST 2017


now change to

lib.FluidTemplate = FLUIDTEMPLATE
lib.FluidTemplate {
    templateName = DefaultTemplate
  
    layoutRootPaths {
        10 = EXT:frontend/Resources/Private/Layouts
        20 = {$tpl_path}/Private/Layouts
    }
    partialRootPaths {
        10 = EXT:frontend/Resources/Private/Partials        
        20 = {$tpl_path}/Private/Partials   
    }
    templateRootPaths {
        10 = EXT:frontend/Resources/Private/Templates
        20 = {$tpl_path}/Private/Templates
    }
variables {
        content < styles.content.get
    }  

}

tt_content.image >
tt_content.image = FLUIDTEMPLATE
tt_content.image {
    templateName = Image
    templateRootPaths {
        0 = {$tpl_path}/Private/Partials/ContentElements/   
    }
    partialRootPaths {
        0 = {$tpl_path}/Private/Partials/ContentElements/   
    }
    layoutRootPaths {
        0 = {$tpl_path}/Private/Partials/ContentElements/   
    }
    dataProcessing {
        10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
        10 {
            references.fieldName = image
        }
    }
}

and try with tt_content.image but it dosn't work at all 

Thanks Roman


More information about the TYPO3-project-media mailing list