Thanks for your answer…
Unfortunately when i entered the code in this php file the whole site was off (gave me a server error message and a blank page). When i replaced it with the old /thumbnail-functions.php everything went normal…still the problem remains..
send you the modified file to check it…
many thanks