[WordPress] 外掛分享: Image Comparison Block – Before After Image Slider

首頁 › 外掛目錄 › Image Comparison Block – Before After Image Slider
WordPress 外掛 Image Comparison Block – Before After Image Slider 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
700+
安裝啟用
★★★★☆
4/5 分(6 則評價)
21 天前
最後更新
—
問題解決
WordPress 6.6+ PHP 7.4+ v1.7.1 上架:2021-09-30

內容簡介

「Image Comparison Gutenberg Block」是一款使用 Gutenberg 原生元件開發的自訂區塊。您可以輕鬆展示圖片比較,並以不同風格和設置進行自定義。

概述 觀看演示

主要功能

簡單、輕量、超快速
僅使用 Gutenberg 原生元件開發
完全沒有區塊建構器
100%響應式
水平和垂直檢視
圖片比較選項

前後標籤
滑鼠懸停啟動比較
水平及垂直比較

在 Gutenberg 編輯器中非常容易使用
使用拖放方式

關於開發人員

設計與開發者為 Zakaria Binsaifullah。可以進行任何自由工作,歡迎 聯絡我。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Image Comparison Block – Before After Image Slider」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Image Comparison Block is a lightweight before and after image comparison slider for the WordPress block editor (Gutenberg). Place two images on top of each other and let visitors drag, click or swipe the handle to reveal the difference.
It is built with native block editor components, has no jQuery or third-party JavaScript libraries, and loads its tiny front-end script only on pages that actually use the block, so it will not slow down the rest of your site.
See Live Demos

Perfect For
A before/after slider is the clearest way to show a transformation. Use it for:

Photographers and retouchers: original vs. edited photos, color grading, RAW vs. final.
Designers and agencies: old website vs. redesign, mockup vs. final product.
Real estate and interior design: home staging, renovation and remodeling results.
Construction, landscaping and cleaning services: project progress and results.
Beauty, cosmetics, dental and fitness: treatment and transformation results.
Car detailing and restoration: before and after the job.
Education and science: maps, satellite images and changes over time.
Product reviews: compare screenshots, settings or image quality side by side.

Key Features

Lightweight and fast: no jQuery or external libraries. Assets load only where the block is used.
Native Gutenberg block: built with core block editor components, works with any block theme or classic theme, including the Site Editor (FSE).
Horizontal and vertical comparison modes.
Drag, click or swipe to compare. Touch friendly, without blocking page scrolling on mobile.
Optional move on hover mode.
Adjustable starting position of the slider.
Optional before and after labels, always visible or shown on hover.
Handle styles: circle, square or line, with custom color, background, size and line width.
Label styles: position, text color, background and font size.
Border, rounded corners, box shadow and aspect ratio (crops both images evenly).
Wide and full width alignment, margin controls and HTML anchors.
Responsive images with srcset and sizes for images from the Media Library.
Accessible: keyboard operable handle (arrow keys, Page Up/Down, Home/End), announced as a slider to screen readers, and respects the “reduce motion” setting.
Live, interactive preview in the editor.
Swap or replace images from the block toolbar, with alt text controls for SEO.
Use multiple comparison sliders on the same page.
Translation ready.

How to Use

Add the Image Compare block from the Media category, or type /image compare in the editor.
Choose a before image and an after image from the Media Library.
Pick the orientation, starting position, labels and styles from the block sidebar.
Publish. Your before/after slider is live.

Why Image Comparison Block?
Many image comparison plugins depend on jQuery, page builders or heavy sliders. Image Comparison Block is a single, focused block that does one thing well: a fast, accessible and good-looking before and after image slider that fits right into the block editor.

延伸相關外掛

文章
Filter
Mastodon