unlex wrote:
I use a view to output an image. After creating it with gd routines, I turn off layouts and set view->imgoutside ZF. But I've tried to pass null and this had no effect.There is no matter what we pass in this case - '' or null. It works fine
This is my view code header('Content-Type: image/png'); header('Cache-control: no-cache, no-store'); imagepng($this->img); imagedestroy($this->img);