Update thumbnail.html

check if preview_file exist before thumbnailing it