[eluser]Christoph Rumpel[/eluser]
In my case it is not working with the period. It only works like that:
$config['upload_path'] = '/Applications/MAMP/htdocs/gallery/';
$config['allowed_types'] = 'gif|jpg|png';
$config['max_size'] = '100';
$config['max_width'] = '1024';
$config['max_height'] = '768';
$this->upload->initialize($config);
Still dont know why...