Se non crei l'oggetto thumbnail, non lo puoi usare!
Codice PHP:
require_once('thumbnail.class.php');
$thumbnail = new thumbnail;  // <---- DEVO creare l'oggetto thumbnail, per poi poterlo 'usare' !
$t $_FILES["file$k"]['tmp_name'];
$sz $_FILES["file$k"]['size'];
$n  $_FILES["file$k"]['name'];
$dest "../img/immagini/";
$smlImage $thumbnail->generate($t$n$dest."/TB"'TB_'.$n100); 
HTH
Zappa