跳到内容

Preload Images

v1.3.0

Ravikumar Patel · 2019年6月7日 上架

Preload or prefetch images, site-wide or per page, for a faster page loading experience.

正在使用
900+
评分
4.6 / 5
累计下载
1.4 万
最近更新
2026年11月7日
8 条评价需要 WordPress 6.1+已测试到 7.1.5PHP 7.4+

截图

Settings page: choose the loading method, add image URLs for every page and pick the post types that get per-page images.
Settings page: choose the loading method, add image URLs for every page and pick the post types that get per-page images.
Block editor (Gutenberg): the "Preload Images" panel in the page sidebar.
Block editor (Gutenberg): the "Preload Images" panel in the page sidebar.
Pick images straight from the Media Library with "Add from Media Library".
Pick images straight from the Media Library with "Add from Media Library".
Classic editor: the "Preload Images" box below the content.
Classic editor: the "Preload Images" box below the content.

Preload Images loads the images you choose before the visitor needs them. It works well for photo galleries, sliders, hover images and other image-heavy pages where you want images to appear instantly.

Features

  • Add any number of image URLs that load on every page.
  • Add image URLs for a single page, post or custom post type from the editor.
  • Block editor (Gutenberg) support: a “Preload Images” panel in the post sidebar, with an “Add from Media Library” button.
  • Choose how images are loaded:
    • Background (JavaScript) loads images after the page has finished loading. This is the default and does not slow down the first render.
    • Preload adds <link rel="preload" as="image"> to the page head. Use it only for a few important above-the-fold images, such as a hero image.
    • Prefetch adds <link rel="prefetch"> so the browser caches images at low priority for the next pages a visitor opens.
  • Lightweight: no external requests and no extra script files on the front end.
  • Developers can change the list with the preload_images_urls filter.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums