[TYPO3-german] Gridelement-Spalte unterschiedliche Bildgrößen

Freddy Tripold freddy.tripold at tlog.at
Thu Feb 23 08:23:13 CET 2017


Hallo Nicolas,

so klappts z.B. bei halber Bildgröße.
renderObj.10.maxImageWidth = {$styles.content.textmedia.maxW}/2

lg
Freddy


Am 22.02.2017 um 14:40 schrieb Nicolas Puente:
> Hallo,
>
> ich möchte je nach Gridelement-Spalte, auch unterschiedliche Bildgrößen
> festlegen.
>
> Ich benutze Typo3 7 und themen.
>
> Das ist meine Versuch ohne Erfolg.
>
> # 2ColumnGrid
> |tt_content||.gridelements_pi1.20.10.||setup| |{|
> |||# ID des Gridelement|
> |||2ColumnGrid < ||lib||.gridelements.defaultGridSetup|
> ||2ColumnGrid|{|
> |||columns {|
> |||# Spalte mit der ID 1|
> |||0 < .||default|
> |||0.||renderObj||.20.||image||.20.||maxW| |= 350|
> |||0.||wrap| |= <||div| |class||="column-1 col-md-6">|</||div||>|
> |||# Spalte mit der ID 2|
> |||1 < .||default|
> |||1.||renderObj||.20.||image||.20.||maxW| |= 250|
> |||1.||wrap| |= <||div| |class||="column-2 col-md-6">|</||div||>|
> |||}|
> |||wrap| |= ||||||
> |||}|
> |}
>
> Eine Idee?
>
> Danke.
> |


More information about the TYPO3-german mailing list