added php syntax to thumbnails.php