sneha sneha - 5 months ago 47
PHP Question

broken image while resizing image in codeigniter

I am using image lib library of codeigniter to resize image. But resize function of image library produces broken image sometimes and also not getting any error.
how to detect broken image.


finally got the answer.In Image_lib.php file go to line no 1259 and replace imagejpeg($resource,'', $this->quality); with imagejpeg($resource,NULL, $this->quality); have a good day