[TYPO3] 'Text w/image' overriding global 'maxW' settings
Robert Markula
robert.markula at gmx.net
Mon May 22 16:11:01 CEST 2006
Robert Markula wrote:
> Good morning,
> Is it possible to set default image dimensions globally per TS for 'Text
> w/image' content elements unless, of course, other dimensions are set in
> the content element settings?
>
> Currently, tt_content.textpic.20.maxW=90 overrides any other settings
> made directly in the content element (field 'Width (pixels):'). For our
> purpose, it should be the other way around.
This TS should work:
# Setting max width of textpic images, unless defined otherwise in the
content element
tt_content.textpic.20 {
maxW=360
maxW.override.field=imagewidth
}
Cheers,
Ro
More information about the TYPO3-english
mailing list