Discussion:
[TYPO3-english] Image maxwidth with fluid_styled_content
Nicolai Schirawski
2016-01-14 09:27:05 UTC
Permalink
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?

Any hints are appreciated.
Nicolai
Bernd Wilke
2016-01-14 10:35:34 UTC
Permalink
Post by 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)

bernd
Nicolai Schirawski
2016-01-14 11:31:14 UTC
Permalink
Post by Bernd Wilke
Post by 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
Post by Bernd Wilke
bernd
_______________________________________________
TYPO3-english mailing list
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Renzo Bauen
2016-03-25 18:59:57 UTC
Permalink
Du musst nur image mit textmedia ersetzen ( die CE heissen anders).

Gruss, Renzo

Loading...