<th scope="row" valign="top"><label for="file_upload_thumb"><?php _e('Thumbnail'); ?> </label></th> <td class="form-field" colspan="3"><input type="file" name="file_upload_thumb" id="file_upload_thumb" /> <br /><?php _e('You can optionally upload a thumbnail here. If the file is a valid image, a thumbnail is generated automatically.', WPFB); ?> <div style="<?php if (empty($file->file_thumbnail)) { echo "display:none;"; } ?> " id="file_thumbnail_wrap"> <br /><img src="<?php echo esc_attr($file->GetIconUrl()); ?> " alt="Icon" /><br /> <b id="file_thumbnail_name"><?php echo $file->file_thumbnail; ?> </b><br /> <?php if ($update && !empty($file->file_thumbnail)) { ?> <label for="file_delete_thumb"><?php _e('Delete'); ?> </label><input type="checkbox" value="1" name="file_delete_thumb" id="file_delete_thumb" style="display:inline; width:30px;" /> <?php }