![]() |
$config['quality'] not working for the image_lib - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: $config['quality'] not working for the image_lib (/showthread.php?tid=37153) |
$config['quality'] not working for the image_lib - El Forum - 12-29-2010 [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() $config['quality'] not working for the image_lib - El Forum - 12-29-2010 [eluser]sooner[/eluser] as far as i see from the user guide quality should be in percentage between 1-100%..default is 90%....higher the quality..larger the file size... $config['quality'] not working for the image_lib - El Forum - 12-30-2010 [eluser]Atharva[/eluser] No need to give % as image lib strips the %. Have you tried uploading larger size images? |