@@ 505-509 (lines=5) @@ | ||
502 | */ |
|
503 | public function RenderOutput() |
|
504 | { |
|
505 | if (!$this->useRawIMoutput && !is_resource($this->gdimg_output)) { |
|
506 | $this->DebugMessage('RenderOutput() failed because !is_resource($this->gdimg_output)', __FILE__, __LINE__); |
|
507 | ||
508 | return false; |
|
509 | } |
|
510 | if (!$this->thumbnailFormat) { |
|
511 | $this->DebugMessage('RenderOutput() failed because $this->thumbnailFormat is empty', __FILE__, __LINE__); |
|
512 | ||
@@ 702-706 (lines=5) @@ | ||
699 | { |
|
700 | $this->purgeTempFiles(); |
|
701 | ||
702 | if (!$this->useRawIMoutput && !is_resource($this->gdimg_output)) { |
|
703 | $this->DebugMessage('OutputThumbnail() failed because !is_resource($this->gdimg_output)', __FILE__, __LINE__); |
|
704 | ||
705 | return false; |
|
706 | } |
|
707 | if (headers_sent()) { |
|
708 | return $this->ErrorImage('OutputThumbnail() failed - headers already sent'); |
|
709 | exit; |