[TYPO3] TCA-parameters does not work

Pascal Cramer pascal at NOSPAMroguesheep.nl
Sat Aug 23 08:55:41 CEST 2008


1024kb = 1Mb
10*1024kb = 10Mb??

You can set this parameter with install tool and the result in your local conf 
should read:
$TYPO3_CONF_VARS['BE']['maxFileSize'] = '1024';

Pascal

LinTong wrote:
> Hallo everybody
>  
> I would like to set a limitation for the size of image.I tried to config it in the typo3conf/extTbales.php:
>  $GLOBALS['TCA']['tt_content']['columns']['image']['config']['max_size'] = 10*1024;
>  
> And the localconf.php has included the file:
> $typo_db_extTableDef_script = 'extTables.php';
>  
> But I still can upload images larger than 1MB. Who can tell me what is wrong? Thanks very much
>  
> _________________________________________________________________
> MSN 中文网,最新时尚生活资讯,白领聚集门户。
> http://cn.msn.com


More information about the TYPO3-english mailing list