Changing default image width of 600 px in TYPO3 Version 9

Typo3 by default limits image width to 600 px. You can easily change this setting using TypoScript. These TypoScript can be usually located on the root Template record. If not you can try using the object browser to find the exact location.

You can change TYPO3 default image size in setup and in constants of the the base template record. You need to login to the bckend in order to edit the TYPO3 backend template record.

The following TYPOSCRIPT is applicable to TYPO3 version 7 onwards including TYPO3 version 9

styles {
content {
textmedia {
# maximum width of generated images
maxW = 2400
# maximum width of generated images (beside text)
maxWInText = 2400
# column spacing in pixels for multiple image columns
columnSpacing = 10
# row spacing in pixels for multiple image rows
rowSpacing = 10
# spacing to the text
textMargin = 10
}
}
}

If you are looking forward to change the image size in TYPO3 version 6 or lower the code is bit different as follows:

In CONSANTS:
styles.content.imgtext.maxW = 700

In SETUP:
tt_content.image.20.maxW = 930

This article was first published on 3rd October 2009!