[TYPO3-media] images with vw

Roman Pretory roman at pretory.at
Thu Jun 29 09:52:26 CEST 2017


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

 


More information about the TYPO3-project-media mailing list