disable die in thumb.php file