Project

General

Profile

Actions

Bug #25306

closed

Thumbs in BE are not displayed but generatedt in typo3temp. BE only shows filename (twice) instead of image

Added by Jrgen Leonhardt over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-03-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

BE typo3_src-4.5.2/t3lib/thumbs.php only shows filename instead of image
because somehow sometihing/a byte is in the output-buffer whitch makes the image-data invalid.

calling ob_clean() in line 252 like

if($fd = @fopen($this->output,'rb'))    {
ob_clean();
header('Content-type: image/'.$outext);
fpassthru($fd);
fclose($fd);
} else {
$this->errorGif('Read problem!','',$this->output);
}

solves the problem, is a working workaround.

calling

uname a
------------

Linux 2.6.37-default #1 SMP Tue Feb 15 10:33:07 CET 2011 x86_64 x86_64 x86_64 GNU/Linux

rpm q php5
-------------

php5-5.2.12-0.1
(issue imported from #M17925)
Actions

Also available in: Atom PDF