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