[WordPress] 外掛分享: GIF Animation Preview

首頁外掛目錄 › GIF Animation Preview
WordPress 外掛 GIF Animation Preview 的封面圖片
400+
安裝啟用
★★★★
4.6/5 分(11 則評價)
3650 天前
最後更新
問題解決
v1.10.3 上架:2013-08-20

內容簡介

這個外掛能夠找出文章中的每個 GIF 動畫,並將其替換為預覽圖像。無論是從另一個網站嵌入的 GIF 還是使用 WordPress 的靜態縮略圖,它都能處理。它會自動從動畫的第一幀生成預覽圖像,並在後面加上 -gap.jpg 後綴,保存到文章的媒體目錄中。

文章在首次顯示時會先顯示生成的小型 JPEG 文件,您的訪客不需要等待下載大型動畫。如果點擊圖像或者整個頁面下載完成後,就可以播放動畫。這取決於您的設置:

您可以在任何地方停止動畫
或者僅在文章中自動啟動動畫
或者將整個網站的動畫默認啟動,使用此外掛進行延遲加載

還有其他設置:

漂亮的平滑效果在預覽和動畫之間
使用滑鼠開始動畫
使用元數據和預覽
禁用某些帶有 nogap 類的圖像

刪除此外掛後,不要擔心,所有設置都會從您的數據庫中刪除。生成的預覽圖像將保留在那裡,直到您手動刪除它們為止,您可以在任何地方使用它們。

在 GitHub 上:
https://github.com/SubZtep/gif-animation-preview

外掛標籤

開發者團隊

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

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

原文外掛簡介

This plugin finds every GIF animation in your posts and replace it to a preview image. Doesn’t matter the GIF embedded from another website or use WordPress’s static thumbnail. It automatically generates the preview image from the first frame of the animation and save it to the post’s media directory with -gap.jpg suffix.
Posts show the pregenareted small size jpeg file first, your visitors don’t need to wait for download the huge animation. Play animation after they click on the image or after your whole page has downloaded. It depends on your setting:

You are able to stop animations everywhere
Or start animation automatically only inside a post
Or start the moves everywhere by default, use this plugin for lazyload

There are additional settings:

Pretty smooth effect between your preview and animation
Start animations with your mouse
Work with metadata and preview
Disable on certain images with nogap class

Don’t worry, delete this plugin will remove all settings from your database. Generated preview images gonna stay there, you can use them everywhere until you delete them manually.
On GitHub:
https://github.com/SubZtep/gif-animation-preview

延伸相關外掛

文章
Filter
Mastodon