Bug #15523
closed
styles.content.imgtext.maxW halfs the size
Added by John Angel almost 19 years ago.
Updated about 14 years ago.
Category:
Content Rendering
Description
styles.content.imgtext.maxW = 400
gives the maximum size of image 200 pixels, instead of 400.
(TYPO3 4 beta 2)
(issue imported from #M2420)
There are two settings:
- Max Image Width = styles.content.imgtext.maxW
- Max Image Width (Text) = styles.content.imgtext.maxWInText
maxWInText defaults to half of maxW. So that images that are added to content elements and placed "in-text" (to the left/right of the bodytext) will be half the size specified in maxW. If you want both to be the same, you have to set maxWInText too:
styles.content.imgtext.maxWInText = 400
Btw, this has always been like that (since TYPO3 version 3.who-knows-which-one)
Ernesto, if you think this bug is fixed, please change its status to "resolved".
I have given you developer rights for the bug tracker on tx_cssstyledimgtext.
cheers
Ingmar
John, can you confirm that this bug is in fact the documented feature?
If you find similar output that you don't expect, please re-open another bug report with steps to reproduce and/or screenshots. I'll close this issue for now.
This is undocumented feature. No docs about it.
The purpose of maxW is pretty confusing. I am still not sure what is it for.
"maxWInText defaults to half of maxW" is strange, also. Who would guess such a thing?
John, this is not undocumented. From the constant editor (in TYPO3 versions 4+ you probably need to install the extension "Web>Template, Constant Editor"):
"Max Image Width [styles.content.imgtext.maxW]
This indicates that maximum number of pixels (width) a block of images inserted as content is allowed to consume.
Default: 600
Max Image Width (Text) [styles.content.imgtext.maxWInText]
Same as above, but this is the maximum width when text is wrapped around an imageblock. Default is 50% of the normal Max Image Width."
This bug should probably be closed.
sry, this is not a bug and will be closed again.
Also available in: Atom
PDF