[Typo3] using large images

Peter Klein peter at umloud.dk
Wed Sep 28 00:23:24 CEST 2005


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)

---
Peter Klein/Umloud Untd

"Marlies C" <mc at mcuniverse.com> wrote in message 
news:mailman.1.1127849753.12631.typo3-english at lists.netfielders.de...
> Sorry for asking here, but since the mailarchive is down I don't have good 
> access any longer to past threads and can't find a darn thing I am asking 
> here.
>
> We are using images that are over 1MB and image magic resizes them nicely, 
> but the news plugin balks at saving the images. How can we work around it, 
> without having to resave all the images? Where can we set the image limit?
>
> Thanks
>
> Marlies
> www.enomaly.net
>
> 





More information about the TYPO3-english mailing list