Title: Easy SwipeBox
Author: Leonardo Giacone
Published: <strong>2015 年 2 月 8 日</strong>
Last modified: 2021 年 2 月 26 日

---

搜尋外掛

![](https://ps.w.org/easy-swipebox/assets/banner-772x250.png?rev=1305729)

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://ps.w.org/easy-swipebox/assets/icon-256x256.png?rev=1305723)

# Easy SwipeBox

 由 [Leonardo Giacone](https://profiles.wordpress.org/leopeo/) 開發

[下載](https://downloads.wordpress.org/plugin/easy-swipebox.1.1.2.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/easy-swipebox/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/easy-swipebox/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/easy-swipebox/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/easy-swipebox/#developers)

 [技術支援](https://wordpress.org/support/plugin/easy-swipebox/)

## 外掛說明

Easy SwipeBox plugin for WordPress websites gives you a flexible, aesthetic and 
mobile-friendly Lightbox solution for just about all media links on your website.
Easy SwipeBox uses the packed [SwipeBox](http://brutaldesign.github.io/swipebox/?source=easy-swipebox-wp-plugin)
and is multisite compatible.

#### Main features

 1. Enqueuing of SwipeBox Javascript and CSS files.
 2. Customization of SwipeBox lightbox appereance and behaviour from the Lightbox Settings
    page.
 3. Autodetection of links to images or videos. You can exclude/include media types
    from the Autodetection Settings page.
 4. Other geek settings in the Advanced Settings page.

#### Autodetection

Select one or more options from Autodetection setting page, Easy SwipeBox automatically
detects the media type and add `class="swipebox"` to their links.
 Otherwise, add`
class="swipebox"` yourself to make the magic happen.

If you like to exclude some images or videos from autodetection enter the selector
that groups these elements.
 By default, Easy SwipeBox uses `.no-swipebox`.

#### Contribution

There are many ways to contribute to this plugin:

 1. Report a bug, submit pull request or new feature proposal: visit the [Github repo](https://github.com/leopuleo/easy-swipebox).
 2. Translate it in your language: visit the [WordPress translation page](https://translate.wordpress.org/projects/wp-plugins/easy-swipebox).
 3. Rate it 5 stars on [WordPress.org](https://wordpress.org/support/view/plugin-reviews/easy-swipebox?filter=5#postform).
 4. Buy me a beer!

#### Support

Need help? Read the [FAQ](https://wordpress.org/plugins/easy-swipebox/faq/) or visit
the [WordPress.org](https://wordpress.org/support/plugin/easy-swipebox) support 
page / [Github Issue Tracker](https://github.com/leopuleo/easy-swipebox/issues).

Note: this plugin use SwipeBox jQuery plugin as Lightbox solution. For any issues
and pull requests related to SwipeBox functionalities please visit the [SwipeBox Repo](https://github.com/brutaldesign/swipebox).

## 螢幕擷圖

[⌊Example of SwipeBox lightbox⌉⌊Example of SwipeBox lightbox⌉[

Example of SwipeBox lightbox

[⌊Easy SwipeBox setting page⌉⌊Easy SwipeBox setting page⌉[

Easy SwipeBox setting page

## 安裝方式

 1. Download the plugin from WordPress repository.
 2. Upload the plugin folder in `/plugins/`.
 3. Activate the plugin.

Done! Now all link to image or Youtube/Vimeo opens in a beautiful mobile-friendly
Lightbox. Visit the new admin page (Settings > Easy SwipeBox) to enable/disable 
the autodetection for selected media type and customize the lightbox behaviour.

## 常見問題集

### Can I use Easy SwipeBox to show Google Maps iframe?

Yes, SwipeBox support inline content, here below an example of code:

First create the selector that contains the Google Maps iframe, usually it’s hidden
within the page:

IFRAME_MAP

Then create your link, pointing at the selector:
 [Click to open the map](https://tw.wordpress.org/plugins/easy-swipebox/?output_format=md#mymap)

Done! Clicking on the link, the Google Maps iframe will be showed within the lightbox.

## 使用者評論

![](https://secure.gravatar.com/avatar/ed8b82df29d6da27db74cd79c9a92c002dada60bad8eabab9eab009cdea25ca1?
s=60&d=retro&r=g)

### 󠀁[good addon](https://wordpress.org/support/topic/problem-in-rtl-site/)󠁿

 [moshayesteh](https://profiles.wordpress.org/moshayesteh/) 2021 年 8 月 28 日

this is useful for podcast site

![](https://secure.gravatar.com/avatar/82d78b9dabb8379207cb4eb74fcddbc6e47e0b9a840a1bd62b5db6fed8f9624f?
s=60&d=retro&r=g)

### 󠀁[Well Done!](https://wordpress.org/support/topic/well-done-638/)󠁿

 [jules22](https://profiles.wordpress.org/jules22/) 2021 年 2 月 24 日

Thanks for submitting the plugin. Saved me the time of having to enqueue Swipebox
into my theme.

![](https://secure.gravatar.com/avatar/f70f40840ca95af0b5d45459a00e9efa79247881ae3fb21c3c4bee5148e04c81?
s=60&d=retro&r=g)

### 󠀁[Great!](https://wordpress.org/support/topic/great-9462/)󠁿

 [ulfben](https://profiles.wordpress.org/ulfben/) 2019 年 3 月 25 日

Swipebox is a great mobile-first image viewer. This plugin Just Works™, and it has
an excellent admin panel exposing all the Swipebox settings. If I had one feature
requests, it's that I'd like photos to be grouped by post, instead of putting every
image on the page into the same group. If you are currently using my old WP-jQuery
Lightbox, strongly consider replacing it with Easy SwipeBox. It is better maintained,
and provide a better experience on mobile devices. Thanks Leonardo for putting this
together!

![](https://secure.gravatar.com/avatar/f1c8e9fb9b0ffdbd864fa8ccaa5e18b3e331496520d3000f96091fcff1f33b96?
s=60&d=retro&r=g)

### 󠀁[🖼️ Swipebox’s best wordpress plugin](https://wordpress.org/support/topic/%f0%9f%96%bc%ef%b8%8f-swipeboxs-best-wordpress-plugin/)󠁿

 [](https://profiles.wordpress.org/knijia/) 2018 年 9 月 6 日

This integration of the famous Swipebox image lightbox is really sweet, lightweitch
and efficient. Works out of the box, mobile friendly and so smooth. Thank you for
your awesome job !

![](https://secure.gravatar.com/avatar/fb6c67d7451245fbac548f309d2d4ea82185f2b5a03e90300749618719507139?
s=60&d=retro&r=g)

### 󠀁[One of the best lightboxes out there!](https://wordpress.org/support/topic/one-of-the-best-lightboxes-out-there/)󠁿

 [imbecillen](https://profiles.wordpress.org/imbecillen/) 2018 年 8 月 23 日

So simple and elegant, yet easy to customise. Works great as a "carousel-lightbox"
for all the images in a posts since it goes through them all. Great touch capability
and is neat. Suggestions for further development: Click outside image should close
box on desktop, at least available. Show image thumbnails in bottom as a carousel,
choosable ofc. Add this code to fix the close button position on desktop vs touch
media if your page has a vertical scrollbar. The close button is a sprite image 
and is placed to narrow to the edge on desktop if you got a scrollbar. #swipebox-
close { background-position: 5px 12px; } @media screen { #swipebox-close { background-
position: 15px 12px; } }

![](https://secure.gravatar.com/avatar/d784d9c00daa0ff218f1cdf3dccacd72382375c50c67af730fe5a605601fe5c1?
s=60&d=retro&r=g)

### 󠀁[Although not updated in years](https://wordpress.org/support/topic/although-not-updated-in-years/)󠁿

 [keppens](https://profiles.wordpress.org/keppens/) 2018 年 5 月 29 日 1 則留言

This plugin works fine. Consider updating the readme file to declare compatibility
with wp 4.9.6

 [ 閱讀全部 16 則使用者評論 ](https://wordpress.org/support/plugin/easy-swipebox/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Easy SwipeBox〉的開發相關工作。

參與者

 *   [ Leonardo Giacone ](https://profiles.wordpress.org/leopeo/)

[將〈Easy SwipeBox〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/easy-swipebox)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/easy-swipebox/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/easy-swipebox/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/easy-swipebox/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/easy-swipebox/)。

## 變更記錄

#### 1.1.2 – Major release (26/02/2021)

 * Bug fix: Update SwipeBox to fix compatibiliy with jQuery 3.X.X – Use original
   SwipeBox jQuery plugin 1.5.2 – Check [https://github.com/brutaldesign/swipebox](https://github.com/brutaldesign/swipebox).

#### 1.1.1 – Major release (09/12/2020)

 * Bug fix: Update SwipeBox to fix compatibiliy with jQuery 3.X.X – Check [https://github.com/mho79/swipebox](https://github.com/mho79/swipebox).

#### 1.1.0 – Major release (27/01/2016)

 * New feature: Added Lightbox Setting Page. Customize the SwipeBox lightbox behaviour.
   Discover more about [SwipeBox options](http://brutaldesign.github.io/swipebox/?source=easy-swipebox-wp-plugin).
 * New feature: Esclude media from autodetection. Exclude some images or videos 
   from autodetection entering the selector that groups these elements.
 * New feature: Advanced settings Page. Customize geek options, like javascript 
   files position (header/footer) and choose to enqueue minified or unminified version
   of the files.
 * New feature: Overview page.
 * Security issue: Fix SwipeBox XSS vulnerability (see [SwipeBox pull request](https://github.com/brutaldesign/swipebox/pull/268)).
 * Updated readme.txt.
 * Updated licence.

#### 1.0.2 (22/11/2015)

 * Bug fix: moved from wp_print_scripts to wp_enqueue_scripts. Better compatibiliy
   with [Soil plugin](https://github.com/roots/soil) from Roots. Thanks to [Gifford Nowland](https://github.com/gnowland)

#### 1.0.1 (28/10/2015)

 * Bug fix: better image format detection (jpg -> .jpg). Thanks to [jas8522](https://github.com/jas8522)
 * Updated readme.txt

#### 1.0 – Major release (14/09/2015)

 * Updated SwipeBox to 1.4.1
 * Bug fix: Added support to UPPERCASE image extension
 * Bug fix: Removed SwipeBox to Youtube User and Channel links
 * New feature: Added admin page for autodetection settings.

#### 0.9.1 (14/04/2015)

 * Bug fix: Added JPEG extension support
 * Bug fix: Use image title as link title (alt fallback)

#### 0.9 (02/02/2015)

 * First commit

## 中繼資料

 *  版本 **1.1.2**
 *  最後更新 **6 年前**
 *  啟用安裝數 **2,000+**
 *  WordPress 版本需求 ** 3.0.1 或更新版本 **
 *  已測試相容的 WordPress 版本 **5.6.23**
 *  PHP 版本需求 ** 5.6 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/easy-swipebox/)
 * 標籤:
 * [fancybox](https://tw.wordpress.org/plugins/tags/fancybox/)[gallery](https://tw.wordpress.org/plugins/tags/gallery/)
   [image](https://tw.wordpress.org/plugins/tags/image/)[swipebox](https://tw.wordpress.org/plugins/tags/swipebox/)
   [video](https://tw.wordpress.org/plugins/tags/video/)
 *  [進階檢視](https://tw.wordpress.org/plugins/easy-swipebox/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  16 個 5 星使用者評論     ](https://wordpress.org/support/plugin/easy-swipebox/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/easy-swipebox/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/easy-swipebox/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/easy-swipebox/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/easy-swipebox/reviews/?filter=1)

[撰寫評分](https://wordpress.org/support/plugin/easy-swipebox/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/easy-swipebox/reviews/)

## 參與者

 *   [ Leonardo Giacone ](https://profiles.wordpress.org/leopeo/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/easy-swipebox/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://paypal.me/LeonardoGiacone)