[TYPO3-media] images with vw

Frans Saris franssaris at gmail.com
Sat Jul 1 09:57:39 CEST 2017


You can copy the partial responsible for rendering media/images from
fluid_styled_content to your own sitepackage and adjust the output there.

See the fluid files in ext:fluid_styled_content/Resources/Private

Groet Frans

Op do 29 jun. 2017 09:55 schreef Roman Pretory <roman at pretory.at>:

> hi
>
> I have search now a long time but thre ist nothing get running...
>
> until v7.6 I use this code to manipulate the picture
>
> tt_content.image.20.1.layout {
>
>     default {
>      #element = <img style="height: ###HEIGHT###px; width: ###WIDTH###px;
> height: calc(###HEIGHT###vw / 10); width: calc(###WIDTH###vw / 10);
> min-width: ###WIDTH###px; min-height: ###HEIGHT###px;" src="###SRC###"
> ###PARAMS### ###ALTPARAMS### ###BORDER### />
>      element = <img style="width: ###WIDTH###px; width: calc(###WIDTH###vw
> / 17); min-width: 100px; height: auto;" src="###SRC###"  ###PARAMS###
> ###ALTPARAMS### ###BORDER### />
>       source =
>     }
> }
>
> is there a easy way in v 8.7 with fluid_styled_content
>
> I have search now a long time but thre ist nothing get running...
>
> Thanks Roman
>
>
> _______________________________________________
> TYPO3-project-media mailing list
> TYPO3-project-media at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-media
>


More information about the TYPO3-project-media mailing list