[TYPO3-english] Image maxwidth with fluid_styled_content

Nicolai Schirawski ns at t3magic.de
Thu Jan 14 12:31:14 CET 2016


Am 14.01.2016 um 11:35 schrieb Bernd Wilke:
> Am 14.01.2016 um 10:27 schrieb Nicolai Schirawski:
>> Hi list,
>>
>> I have an issue with image maxW.
>>
>> Most of us use backend-layouts. In the "old times", using
>> css_styled_content, it was possible to have individual maximum image
>> width by setting tt_content.image.20.maxW to an appropriate value,
>> depending on backend-layout and colPos.
>>
>> With fluid_styled_content, tt_content.image.20.maxW is no longer
>> available.
>>
>> How could I now achieve an image maximum width depending on
>> backend-layout and colPos?
> 
> you might have a look into the templates and insert a switch in the
> imagerendering depending on the colPos
> 
> (use templateRootPath*s* and you can replace only single templates
> without copying all templates)

I doubt that it can be done there, because if we have several images
with equal height in a single row, typo3 adjusts the widths of the
individual images so the group as a whole reaches maxW. I would assume
that these calculations are done somewhere in the core...

Nicolai



> 
> bernd
> 
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list