When using GZip, the content/pages/create-thumb throws a Content Encoding Error. The image thumbnail is never created and therefore never returned to the image upload content type.
To resolve this ad ob_start('ob_gzhandler') to the create-thumb method.
public function create_thumb()
{
if ( ! is_ajax())
{
return show_404();
}
ob_start('ob_gzhandler');
if ($this->input->post('image_path'))
{
echo image_thumb($this->input->post('image_path'), 150, 150, FALSE, array('no_image_image' => ADMIN_NO_IMAGE));
}
}
When using GZip, the content/pages/create-thumb throws a Content Encoding Error. The image thumbnail is never created and therefore never returned to the image upload content type.
To resolve this ad ob_start('ob_gzhandler') to the create-thumb method.