My mistakes

Codeigniter Image resize library problem on multiple image resize

Posted by: pvibeesh on: March 2, 2009

$this->load->library(“image_lib/”,$config);

for loop:

$this->image_lib->initialize($config);

end for loop

When using this library repeatedly it will initialize the image properties at once only.

It uses the existing instance for the remaining calls

To solve this problem call the initalize fucnction manually.

2 Responses to "Codeigniter Image resize library problem on multiple image resize"

you are a lifesaver, thank you so much.

Thank you very much, that solved my multiple resize problem too!

Leave a Reply