[TYPO3-media] Re: images with vw
Roman Pretory
roman at pretory.at
Mon Jul 3 07:03:49 CEST 2017
Thanks
But I have allready tried to 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
There is no Change in the output
More information about the TYPO3-project-media
mailing list