Title: Disable PDF Thumbnails
Author: Makeworthy Media
Published: <strong>2017 年 2 月 15 日</strong>
Last modified: 2021 年 7 月 23 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/disable-pdf-thumbnails.svg)

# Disable PDF Thumbnails

 作者：[Makeworthy Media](https://profiles.wordpress.org/jennettefulda/)

[下载](https://downloads.wordpress.org/plugin/disable-pdf-thumbnails.1.3.zip)

 * [详情](https://cn.wordpress.org/plugins/disable-pdf-thumbnails/#description)
 * [评价](https://cn.wordpress.org/plugins/disable-pdf-thumbnails/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/disable-pdf-thumbnails/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/disable-pdf-thumbnails/#developers)

 [支持](https://wordpress.org/support/plugin/disable-pdf-thumbnails/)

## 描述

Disables WordPress from generating image thumbnails when you upload a PDF. This 
behavior was introduced in WordPress 4.7, so this plugin isn’t needed for any version
older than that. Not all web hosts support the ability to generate images from PDFs
either, so even if you have 4.7 or newer you might not need this.

## 安装

 1. Upload the folder ‘disable-pdf-thumbnails’ to the ‘/wp-content/plugins/’ directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. That’s it! WordPress will no longer generate thumbnail images for any PDFs you 
    upload.

## 常见问题

### Why would I want to disable thumbnails from being generated when I upload a PDF?

1) It makes uploading slower because WordPress has to generate several images after
the file is uploaded. In some situations your browser might time out before the 
process is complete.

2) If your site hosts more than a few dozen PDFs, the image thumbnails will start
taking up a notable amount of space in your uploads directory. One full-size thumbnail
for a PDF can be as large as 4mb. If you have 25 PDFs on your site, that’s 100mb
of space. If you have limited disk space on your hosting account, this will bring
you closer to hitting your limit. If you make regular backups, they’ll start to 
become significantly larger.

### How can I disable thumbnails for some PDF uploads but not others?

If you need a thumbnail image for a PDF, deactivate the plugin, upload the PDF, 
and thumbnails will be generated. Then reactivate the plugin to disable them in 
the future. Please note, if you run a Regenerate Thumbnails plugin in the future,
the thumbnail you created might be deleted.

### Why isn’t my site creating thumbnails for PDFs even without this plugin installed?

According to the development team, for PDF thumbnails to work you have to have a
WP_Image_Editor available on your hosting account that supports PDF. https://make.
wordpress.org/core/2016/11/15/enhanced-pdf-support-4-7/

## 评价

![](https://secure.gravatar.com/avatar/127f28a9b9dbdcc36eaf14ba71f0fef2b8cb357bb69214ce833f0dd5d7a08f36?
s=60&d=retro&r=g)

### 󠀁[A great plugin, very useful](https://wordpress.org/support/topic/a-great-plugin-very-useful-2/)󠁿

 [Sylvie-V](https://profiles.wordpress.org/sylvie-aveline/) 2022 年 1 月 25 日

A very useful plugin, which removes the images generated when uploading .pdf files,
which considerably increases the size of the website. Thanks a lot, it works very
well.

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/disable-pdf-thumbnails/reviews/)

## 贡献者及开发者

「Disable PDF Thumbnails」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Makeworthy Media ](https://profiles.wordpress.org/jennettefulda/)

「Disable PDF Thumbnails」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/disable-pdf-thumbnails/contributors)
为本插件所做的贡献。

[帮助将「Disable PDF Thumbnails」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/disable-pdf-thumbnails)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/disable-pdf-thumbnails/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/disable-pdf-thumbnails/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/disable-pdf-thumbnails/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/disable-pdf-thumbnails/)。

## 更新日志

#### 1.0

 * Original version of the plugin.

## 额外信息

 *  版本 **1.3**
 *  最后更新：**5 年前**
 *  活跃安装数量 **60+**
 *  WordPress 版本 ** 4.7 或更高版本 **
 *  已测试的最高版本为 **5.8.13**
 *  语言
 * [English (US)](https://wordpress.org/plugins/disable-pdf-thumbnails/) 和 [Swedish](https://sv.wordpress.org/plugins/disable-pdf-thumbnails/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/disable-pdf-thumbnails)
 * 标签
 * [disable](https://cn.wordpress.org/plugins/tags/disable/)[image](https://cn.wordpress.org/plugins/tags/image/)
   [pdf](https://cn.wordpress.org/plugins/tags/pdf/)[thumbnail](https://cn.wordpress.org/plugins/tags/thumbnail/)
   [thumbnails](https://cn.wordpress.org/plugins/tags/thumbnails/)
 *  [高级视图](https://cn.wordpress.org/plugins/disable-pdf-thumbnails/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/disable-pdf-thumbnails/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/disable-pdf-thumbnails/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/disable-pdf-thumbnails/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/disable-pdf-thumbnails/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/disable-pdf-thumbnails/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/disable-pdf-thumbnails/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/disable-pdf-thumbnails/reviews/)

## 贡献者

 *   [ Makeworthy Media ](https://profiles.wordpress.org/jennettefulda/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/disable-pdf-thumbnails/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.makeworthymedia.com/plugins/)