[TYPO3-templavoila] Setting a Img-Width Limit per Container
leeperry at slack.de
Fri Sep 21 20:42:29 CEST 2007
you can set the colPos for your containers with the element
<oldStyleColumnNumber> in your DS.
So you can set it to <oldStyleColumnNumber>0</oldStyleColumnNumber> for
your main content container and to
<oldStyleColumnNumber>2</oldStyleColumnNumber> for your (right) sidebar
and maybe with these information you can set different styles.content
styles.content.imgtext.maxW = 600
styles.content.getRight.imgtext.maxW = 200
but I don't know if it works, especially the styles.content-part ...
> Hey all,
> I am working on a webpage where I have two TV containers for "Content
> Elements" and I'd like to have different settings for the different
> Say I place a Content element with an image in container #1, I'd like to
> be able to have a maximum with of 600 pixel (like the main content
> container) and for container #2, I'd like a maximum width for pictures
> of 200 pixels (like a sidebar on the right).
> Note that I'm not talking about special FCE's or Templates where I
> specifically set one single image for a sidebar or so, but two content
> areas with random content elements, and about something where I could
> e.g. set styles.content.imgtext.maxW for different content areas...
> would be cool!
> Can anybody help me with this? Is this even possible?
> Thanks in advance!
More information about the TYPO3-project-templavoila