[Typo3] Height 25 pixels minimum in content-type IMAGE. Why?
Konstantin
pilot at m-lan.ru
Tue Nov 15 13:39:25 CET 2005
Thanks!
"Dmitry Dulepov" <typo3 at fm-world.ru> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
news:mailman.1.1132050112.8009.typo3-english at lists.netfielders.de...
> Hi!
>
> Konstantin wrote:
>> Please, see picture:
>> http://www.visionteam.co.uk/go2bahia/fileadmin/user_upload/minimum.gif
>>
>> When i set height of image in content-element IMAGE - i can't set less
>> than
>> 25 px....
>> Why?
>> How can this be changed?
>
> This limit is in $TCA. If you really need smaler value, you will have to
> modify typo3/systext/cms/tbl_tt_content.php near line 410. Here is how
> it looks like now (version 3.8.0):
>
> 'imagewidth' => Array (
> 'exclude' => 1,
> 'label' => 'LLL:EXT:cms/locallang_ttc.php:imagewidth',
> 'config' => Array (
> 'type' => 'input',
> 'size' => '4',
> 'max' => '4',
> 'eval' => 'int',
> 'checkbox' => '0',
> 'range' => Array (
> 'upper' => '999',
> 'lower' => '25' // <<<<<<<<<<<<<<<< line 410
> ),
> 'default' => 0
> )
> ),
>
> should be:
> 'imagewidth' => Array (
> 'exclude' => 1,
> 'label' => 'LLL:EXT:cms/locallang_ttc.php:imagewidth',
> 'config' => Array (
> 'type' => 'input',
> 'size' => '4',
> 'max' => '4',
> 'eval' => 'int',
> 'checkbox' => '0',
> 'range' => Array (
> 'upper' => '999',
> 'lower' => '1' // <<<<<<<<<<<<<<<<< line 410
> ),
> 'default' => 0
> )
> ),
>
> You may want to check image height as well.
>
> I wonder wehter these restrictions are intensional.
>
> Dmitry.
More information about the TYPO3-english
mailing list