[Typo3] using large images
Marlies C
mc at mcuniverse.com
Wed Sep 28 00:52:23 CEST 2005
"Peter Klein" <peter at umloud.dk> wrote in message
news:mailman.1.1127859795.28199.typo3-english at lists.netfielders.de...
> Hi Marlies. You can either create a small extension, and increase the
> value of
>
> $TCA['tt_news']['columns']['image']['config']['max_size']
>
> ( Default: $TCA['tt_news']['columns']['image']['config']['max_size'] =
> 1000; )
>
> Or edit the "tt_news/tca.php" directly..
>
> then find this part:
>
> 'image' => Array (
> 'exclude' => 1,
> 'l10n_mode' => $l10n_mode_image,
> 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.images',
> 'config' => Array (
> 'type' => 'group',
> 'internal_type' => 'file',
> 'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'],
> 'max_size' => '1000',
> 'uploadfolder' => 'uploads/pics',
> 'show_thumbs' => '1',
> 'size' => '3',
> 'maxitems' => '10',
> 'minitems' => '0'
> )
> ),
>
>
> And change the "1000" to the size you need. (1024 = 1Mb)
>
>
Thank you Peter, that was the answer we were looking for.
Regards,
Marlies
www.enomaly.net
More information about the TYPO3-english
mailing list