[WordPress] 外掛分享: Preload Current Images

首頁外掛目錄 › Preload Current Images
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
20+
安裝啟用
尚無評分
4523 天前
最後更新
問題解決
WordPress 3.0.1+ v1.3 上架:2013-03-10

內容簡介

此外掛可讓您自動預載現有頁面上的所有圖像,包括背景圖像。這對於幻燈片非常有用,因為頁面上並非所有圖像一次顯示。通常,圖像不會在同一時間加載,使得幻燈片看起來停止運作。

請注意,在運行您的 JS 代碼之前,頁面需要加載圖像,因此頁面初始加載速度可能會稍慢。但是,如果您的代碼需要在圖像事先加載後運行,這樣更容易讓您的用戶使用您的外掛或代碼。

總之,預載圖像使您的幻燈片運行更加流暢,強制要求在使用之前加載所有圖像並且能夠使圖像加載更快速。

此外掛還提供了 preload_progress_bar 短代碼:

[preload_progress_bar complete=”jQuery(‘#content’).show();progressbar.hide();progressbar.remove();” initial_text=’Loading…’][/preload_progress_bar]

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Preload Current Images」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Allows you to auto preload all images on the current page. This also include background images. This is perfect for slides where not all images are visible at once on the page. Typically not all images will load at the same time making it appear the slide is not working.
Please be aware that the page will initially load a little slower as it needs to load the images before running your js code. But having said that, if your code needs these images to load before hand, it will make it easier for your users to use your plugins or code.
So in summary, it makes your slides run smoother, forces all images to be loaded before use and makes the images load faster.
With this plugin you can use the preload_progress_bar shortcode:
[preload_progress_bar complete=”jQuery(‘#content’).show();progressbar.hide();progressbar.remove();” initial_text=’Loading…’][/preload_progress_bar]

延伸相關外掛

文章
Filter
Apply Filters
Mastodon