[wordpress插件] Compress PNG for WP压缩WP的PNG

wordpress 插件 文章 2020-03-30 00:40 463 0 全屏看文

AI助手支持GPT4.0

评分
92
描述

Compress PNG for WP allows users to shrink JPEG/PNG files using the TinyPNG API.

Compress PNG for WP允许用户使用TinyPNG API收缩JPEG / PNG文件。

Files can be automatically resized when uploaded as well as manually resized in the Media Library.

上传时可以自动调整文件大小,也可以在媒体库中手动调整文件大小。

v1.3 Added Support for JPEG Compression via TinyJPEG, Works the same way as PNG files.

v1.3新增了对通过TinyJPEG进行JPEG压缩的支持,与PNG文件的工作方式相同。

How to use Compress PNG for WP

如何对WP使用Compress PNG

    1. Visit ‘Settings > Media’ from the admin dashboard.
    2. 从管理控制台中访问“设置>媒体”。

    3. Insert your TinyPNG API key and save changes.

    4. 插入TinyPNG API密钥并保存更改。

      If you do not yet have a key, get one from TinyPNG.

      如果您还没有密钥,请从 TinyPNG 中获取一个。

      You can also select to auto compress on upload as well as which additional image sizes will be compressed from this page.

    5. 您还可以选择在上传时自动压缩,以及可以从此页面压缩哪些其他图像尺寸。

    6. Start uploading JPEG/PNG files and they will be automatically resized (if you have chosen to allow auto shrinking on upload in the ‘Settings > Media’ page).
    7. 开始上传JPEG / PNG文件,它们会自动调整大小(如果您在“设置>媒体”页面上选择了允许自动缩小图片大小)。

    8. Visit ‘Media > Library’ to see information on your resized files or to manually resize existing JPEG/PNG files.
    9. 访问“媒体>库”以查看有关调整大小的文件的信息或手动调整现有JPEG / PNG文件的大小。

    For more information view our Compress PNG

    有关更多信息,请查看我们的压缩PNG

    for WP page.

    WP页面。

安装步骤

From your WordPress Dashboard

从WordPress仪表板中

    1. Visit ‘Plugins > Add New’
    2. 访问“插件>添加新内容”

    3. Search for ‘Compress PNG for WP.
    4. 搜索“为WP压缩PNG。

    5. Activate Compress PNG for WP from your Plugins page.
    6. 从“插件”页面激活WP压缩PNG。

    From WordPress.org

    来自WordPress.org

      1. Download Compress PNG for WP.
      2. 下载用于WP的Compress PNG。

      3. Upload the gecko-tiny-png folder to your ‘/wp-content/plugins/’ directory.
      4. 将gecko-tiny-png文件夹上传到您的“ / wp-content / plugins /”目录。

      5. Activate Compress PNG for WP from your Plugins page.
      6. 从“插件”页面激活WP压缩PNG。

下载地址
https://downloads.wordpress.org/plugin/compress-png-for-wp.1.3.5.zip
-EOF-

AI助手支持GPT4.0