[eluser]chefnelone[/eluser]
Hello
I'm using $config['quality'] as shown below but it's ignored. NO ERROR MESSAGES
I know it isn't working because I've tested setting it to:
$config['quality'] = '10'
and
$config['quality'] = '100'
but..both images have the same kilobytes. Then it is no working...
I also tried:
$config['quality'] = 10;
and
$config['quality'] = '10%'
but nope...
Code:
$this->upload->do_upload()
$data = $this->upload->data();
unset($config);
$config['image_library'] = 'GD2';
$config['source_image'] = './uploads/gallery/'.$data['file_name'];
$config['quality'] = '10';
$this->load->library('image_lib', $config);
$this->image_lib->resize();