Project

General

Profile

Actions

Bug #15523

closed

styles.content.imgtext.maxW halfs the size

Added by John Angel about 18 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Category:
Content Rendering
Target version:
-
Start date:
2006-01-28
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #15522: CSS-styled-content resizes pictures too small after updateClosedIngmar Schlecht2006-03-27

Actions
Actions #1

Updated by Ernesto Baschny about 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)

Actions #2

Updated by Ingmar Schlecht about 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

Actions #3

Updated by Ernesto Baschny about 18 years ago

John, can you confirm that this bug is in fact the documented feature?

Actions #4

Updated by Ernesto Baschny about 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.

Actions #5

Updated by John Angel over 17 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?

Actions #6

Updated by Christopher over 17 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.

Actions #7

Updated by Sebastian Kurfuerst over 17 years ago

keyword:t3dd06

Actions #8

Updated by Peter Niederlag over 17 years ago

sry, this is not a bug and will be closed again.

Actions

Also available in: Atom PDF