[wordpress插件] Better Image Loading更好的图像加载

wordpress 插件 文章 2020-03-03 22:50 459 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

This plugin was inspired by Medium, it makes images load better on page paint.

此插件的灵感来自 Medium ,它使图像在页面绘画上的加载效果更好。

Providing a ‘blurred’ version of the image at the correct scale, then fading the true image in once loaded.

以正确的比例提供图像的“模糊”版本,然后在加载后渐隐真实图像。

It works by default on all post featured images leveraging the WordPress post_thumbnail_html filter.

默认情况下,它可以在所有使用WordPress post_thumbnail_html过滤器的精选图片上使用。

For inline images the plugin searches through your post content and refactors the image for better loading.

对于嵌入式图像,插件会搜索您的帖子内容并重构图像以更好地加载。

NOTE:

注意:

You may need to regenerate thumbnails to create the blurred image for each attachment image.

您可能需要重新生成缩略图才能为每个附件图像创建模糊的图像。

We recommend using the Regenerate Thumbnails plugin.

我们建议使用重新生成缩略图插件。

This plugin is designed to accommodate the image dimension ratio of the full size version.

该插件旨在适应完整尺寸版本的图像尺寸比例。

If you are using cropped images you may experience resizing issues.

如果您使用裁剪的图像,则可能会遇到尺寸调整问题。

Roadmap

路线图

0.3.2

0.3.2

    1. Ability to turn off better image loading for post/page content
    2. 能够为帖子/页面内容关闭更好的图像加载功能

    0.3.3

    0.3.3

      1. Ability to select if you want a blurred image or a single color image like Google Images
      2. 能够选择是否要使用模糊图像或单色图像(例如Google图片)

      0.3.4

      0.3.4

        1. Load larger images only when in view
        2. 仅在查看时加载较大的图像

安装步骤

    1. Download the plugin and unzip it.
    2. 下载插件并解压缩。

    3. Upload the folder better-image-loading/ to your /wp-content/plugins/ folder.
    4. 将“ better-image-loading /”文件夹上传到您的/ wp-content / plugins /文件夹中。

    5. Activate the plugin from your WordPress admin panel.
    6. 从WordPress管理面板中激活插件。

    7. Installation finished.
    8. 安装完成。

    9. I recommend you regenerate all thumbnails if your media library is not empty.
    10. 如果媒体库不为空,我建议您重新生成所有缩略图。

下载地址
https://downloads.wordpress.org/plugin/better-image-loading.zip
-EOF-

AI助手支持GPT4.0