[TYPO3-english] No thumbnails in BE

Marcus 'biesior' Biesioroff vsbies at wp.pl
Mon Jan 11 15:52:27 CET 2010


W dniu 2009-11-12 09:58, David ARNOULT - Edition & Internet Operations 
pisze:

> Thumbnail link seems to be fine :
>
> <img height="35" width="56" title="TS7on Windows7 3" alt="TS7on Windows7 3"
> src="../../../../typo3/thumbs.php?&file=G%3A%2FSites%2Ftypo3.topsolid.com%2F
> fileadmin%2Fcontents%2Fimages%2Fwindows_7%2FTS7onWindows7_3.png&size=56x35&m
> d5sum=b908b615c6&dummy=1258015196"/>
>
>
>
> Editing thumbs.php does not seem to be very helpful.

ellou' David and List!

I was fighting with this for few hours and finally found the problem, if 
you're still with no thumbnails there's the reason - empty space after 
?> tag (end of php script) in some configuration file (in my case it was 
realurlconf.php and of course it was MY fault, as I wasn't clear)

In this situation thumbs.php just returned image data BUT prepended with 
two empty lines... it's easy to verify, first edit the file: 
typo3/thumbs.php and comment this line (it's at the end of main() method 
line ~248):

header('Content-type: image/'.$outext);




Next open directly the script necessarily with parameters generated by 
BE (md5 checksum!) for your example it's:

http://yourdomain.loc/typo3/thumbs.php?&file=G%3A%2FSites%2Ftypo3.topsolid.com%2Ffileadmin%2Fcontents%2Fimages%2Fwindows_7%2FTS7onWindows7_3.png&size=56x35&md5sum=b908b615c6&dummy=1258015196

You'll raw image data, just open the code preview to check if it begins 
with empty line(s), if do... you have to search where it's placed... 
boring task, but it's working! now I've my thumbnails again! :D

-- 
Marcus 'biesior' Biesioroff
a.k.a. Marek Krawczyk (original)

Polish TYPO3 Community Proud Member
http://typo3.pl


More information about the TYPO3-english mailing list