[eluser]Unknown[/eluser]
Hello everybody,
I'm using this code to create thumbnails, using images wich are already on the server.
Code:
$config['image_library'] = 'gd2';
$config['quality'] = '100';
$config['source_image'] = $data['upload_data']['full_path'];
$config['create_thumb'] = TRUE;
$config['maintain_ratio'] = TRUE;
$config['master_dim'] = height;
$config['width'] = 60;
$config['height'] = 60;
$this->load->library('image_lib', $config);
$this->image_lib->resize();
My Problem is, that if the picture on the server is too large (over 1500 px) the code doesn't create the thumbnail.
Can anyone help me?
THX
Kevin