multiple image resize

#3
[eluser]StevenW721[/eluser]
I know it's a little late, but for the sake of others that come across this in a search I felt I should also comment.

There's a built in function in the Image Manipulation Class that resets all of the values used when processing an image. Using that and then reinitializing the config should do the trick

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

Might make things a little easier than doing it manually. Found this at http://ellislab.com/forums/viewthread/53387/


Messages In This Thread
multiple image resize - by El Forum - 12-11-2007, 09:54 AM
multiple image resize - by El Forum - 12-11-2007, 11:00 AM
multiple image resize - by El Forum - 07-10-2008, 10:02 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.