Codeigniter: how to resize after cropping?

It's as if the second time you load the library (thus initializing it again) it doesn't receive all the params it needs. Are you using the code in the same method, or in another? Anyway, if inside the same method as a test try doubling some configs after clearing them.

It's as if the second time you load the library (thus initializing it again) it doesn't receive all the params it needs. Are you using the code in the same method, or in another? Anyway, if inside the same method, as a test try doubling some configs after clearing them: // //CROPPING HERE....Then: // $this->image_lib->clear(); $config'image_library' = 'gd2'; $config'source_image' = '.

/images/uploads/temp/'. $file_name; $config'maintain_ratio' = TRUE; $config'width' = 180; $config'height' = 180; $this->image_lib->initialize($config); if (! $this->image_lib->resize()) { echo $this->image_lib->display_errors(); } And be sure to have the folder and files with correct permissions.

THAT WORKED! You are my hero! The cropping is a tiny bit off, but I can fiddle with that.

– kevinbeal Jul 27 at 23:33.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions