Welcome Guest, Not a member yet? Register   Sign In
Help with thumbnail creation using image manipulation class
#2

[eluser]PhilTem[/eluser]
It probably goes farther than line "//create thumbnail" however, the config of the library hasn't really changed so it will process the image with the settings from above "//create thumbnail"

Try
Code:
// create thumbnail
/* Do all your config from above here */
$this->image_lib->initialize($config); // new line to initialize library with new config
$this->image_lib->resize();

That's an uncommented standard "feature" of every CI library. I don't know why they didn't add it to the docs.


Messages In This Thread
Help with thumbnail creation using image manipulation class - by El Forum - 06-14-2012, 05:09 AM



Theme © iAndrew 2016 - Forum software by © MyBB