[eluser]a.somervell[/eluser]
[quote author="gunter" date="1209258675"]if the image lib isn´t working, and path rights and everything is ok then it´s mostly because the people looping through $this->load->library('image_lib', $config);
I mentioned this today in the bug report, the user guide has to be changed, because the first example uses this...[/quote]
Ahh right, yeah just to make that bit more clear:
If you use:
Code:
$this->load->library('image_lib', $config);
It doesnt matter if you do $this->image_lib->clear(); later on, you'll still get the error in the loop. If you want to loop you should go:
Code:
$this->load->library('image_lib');
// Set your config up
$this->image_lib->initialize($config);
// Do your manipulation
$this->image_lib->clear();