Bug #15523
closedstyles.content.imgtext.maxW halfs the size
0%
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)
Updated by Ernesto Baschny over 18 years ago
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)
Updated by Ingmar Schlecht over 18 years ago
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
Updated by Ernesto Baschny over 18 years ago
John, can you confirm that this bug is in fact the documented feature?
Updated by Ernesto Baschny over 18 years ago
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.
Updated by John Angel over 18 years ago
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?
Updated by Christopher over 18 years ago
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.
Updated by Peter Niederlag over 18 years ago
sry, this is not a bug and will be closed again.