Welcome Guest, Not a member yet? Register   Sign In
image library - resizing images twice?
#5

[eluser]k00k[/eluser]
I just ran into this same issue and wanted to share my experience.

After you're done with your first resize, call the following:

Code:
$this->image_lib->clear();

Then, instead of loading the image_lib library again, call:

Code:
$this->image_lib->initialize($config2); // load 2nd config

And then you can call the resize or what have you for the 2nd image.

Hope that helps someone, it tripped me up. I'd love to see it added to the manual in as much detail.


Messages In This Thread
image library - resizing images twice? - by El Forum - 03-22-2010, 01:49 AM
image library - resizing images twice? - by El Forum - 03-22-2010, 03:56 AM
image library - resizing images twice? - by El Forum - 03-22-2010, 04:32 AM
image library - resizing images twice? - by El Forum - 03-22-2010, 09:29 AM
image library - resizing images twice? - by El Forum - 07-30-2010, 11:58 AM
image library - resizing images twice? - by El Forum - 07-30-2010, 02:31 PM



Theme © iAndrew 2016 - Forum software by © MyBB