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

FancyBox Gallery

外掛說明

FancyBox Gallery integrates the FancyBox jQuery plugin into the WordPress
gallery functionality. Simply use the gallery shortcode to display
thumbnails in your posts with the option to link directly to the images (not
the attachment template), and the plugin handles the rest. You get nice
popups for the larger sized images, scaled to fit in the browser window,
with a nice overlay effect.

Features:

  • Automatically scales large images to fit in window
  • Adds a nice drop shadow under the zoomed item
  • Groups related items and adds navigation through them (uses preloading)

FancyBox jQuery features, not yet implemented in the WordPress plugin:

  • Can display images, inline and iframed content
  • Customizable through settings and CSS

ToDo

  • Add a settings screen. Allow control of FancyBox display options.
  • Let user set their own CSS selector, instead of assuming the standard
    WordPress shortcode.

Credits

The FancyBox jQuery plugin is by Janis Skarnelis, and can be found here:

http://fancy.klade.lv/

安裝方式

Copy the fancybox-gallery folder and its contents to your wp-content/plugins
directory, then activate the plugin.

Visit the settings page to configure options.

By default, FancyBox Gallery is configured to work with image galleries
generated by the WordPress [gallery link="file"] shortcode.

常見問題集

Does it work with other media, like videos?

The FancyBox jQuery can work with other embedded media types. I have not
tested the WordPress plugin with anything other than images, though.

There is a problem with my browser.

For example, I have heard reports that the Opera browser wants to center the
image on the whole document, not just in the visible viewport. Browser
issues most likely will have to be dealt with in the underlying FancyBox
jQuery plugin. For these types of problems, please visit:

http://fancy.klade.lv/

使用者評論

2016 年 9 月 3 日
It does its job – so its ok. I’m using 1.9.1 – had errors. Add this: jQuery.browser = {}; (function () { jQuery.browser.msie = false; jQuery.browser.version = 0; if (navigator.userAgent.match(/MSIE ([0-9]+)\./)) { jQuery.browser.msie = true; jQuery.browser.version = RegExp.$1; } })(); to \plugins\fancybox-gallery\fancybox\jquery.fancybox-1.2.1.js and it will work.
閱讀全部 3 則使用者評論

參與者及開發者

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

參與者

將〈FancyBox Gallery〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

0.3.2 2010-01-10

  • Tested up to WordPress 3.0-alpha

0.3.1 2009-06-11

  • Fixed path to easing plugin.

0.3 2009-06-11

  • Upgraded to fancybox 1.2.1
  • Due to new version of fancybox, which requires jQuery version 1.3.2,
    the plugin now requires WordPress 2.8 (or at least the newer jQuery)
  • Now supports next/previous image navigation within gallery images of
    a post.

0.2 2009-01-26

  • Override table styles for image captions so that it works better with
    more themes.

0.1 2009-01-25

  • Initial release. No options, yet. Only works if you use the gallery
    shortcode like so: [gallery link="file"]