Fix preview file-displays for image and youtube.