Re: [TYPO3-media] images with vw

Roman Pretory roman at pretory.at
Mon Jul 3 07:11:54 CEST 2017


Thanks, But this I have already tried with out suchsess 


Copy the

/typo3/sysext/fluid_styled_content/Resources/Private/Partials/Media/Rendering/Image.html

To my ext in 

EXT:MY_layout_ext//Resources/Private/Partials/Media/Rendering/Image.html
Or 
EXT:MY_layout_ext//Resources/Private/Partials/Image.html

my fluidtemplate config ..:
lib.FluidTemplate = FLUIDTEMPLATE
lib.FluidTemplate{
    partialRootPath = {$tpl_path}/Private/Partials
    layoutRootPath = {$tpl_path}/Private/Layouts
    variables {
        content < styles.content.get
    }
  
    file.stdWrap.cObject = CASE
    file.stdWrap.cObject {
        key.data = levelfield:-1, backend_layout_next_level, slide
        key.override.field = backend_layout
        default = TEXT
        default.value = {$template}

    }
}



Modyfied by add as sample for test

<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<f:media class="image-embed-item" file="{file}" sytle="hhhh" width="{dimensions.width}" height="{dimensions.height}" alt="{file.alternative}" title="{file.title}" />
</html>

but it dos't work .. :-(
is there anything to do in any config???

Thanks Roman


More information about the TYPO3-project-media mailing list