Welcome Guest, Not a member yet? Register   Sign In
[RESOLVED]not looping image resize
#4

[eluser]Atharva[/eluser]
You will load the lib outside the loop without $config array
Code:
$this->load->library('image_lib');

And in loop, you will set the $config options with
Code:
$this->image_lib->initialize($config);

Edit: By outside, I meant before loop.


Messages In This Thread
[RESOLVED]not looping image resize - by El Forum - 01-14-2011, 06:22 AM
[RESOLVED]not looping image resize - by El Forum - 01-14-2011, 06:28 AM
[RESOLVED]not looping image resize - by El Forum - 01-14-2011, 06:33 AM
[RESOLVED]not looping image resize - by El Forum - 01-14-2011, 06:35 AM
[RESOLVED]not looping image resize - by El Forum - 01-14-2011, 06:45 AM
[RESOLVED]not looping image resize - by El Forum - 01-14-2011, 06:46 AM
[RESOLVED]not looping image resize - by El Forum - 01-14-2011, 06:47 AM
[RESOLVED]not looping image resize - by El Forum - 01-14-2011, 06:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB