Modify the method by which PATH_tslib was defined, as it was dependent on PATH_typo3, which is not available at thumbs.php script, thus breaking thumbnails.

Now it wont break them.

Requires TYPO3  4.0