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

External Gallery2 Image Block Plugin

描述

If you use Gallery2 in an external (non WPG2) installation, you may want to display images using the Gallery2 Image Block module. If so, this is the widget for you. Options described in the Gallery 2 Image Block documentation are included, but not all have been tested. Your mileage may vary.

User configuration of Image Block options is available through the Widget configuration panel. Blank (empty) options use the Gallery2 defaults.

Note: The widget is written using lib_curl() to avoid url_fopen issues.

For more information, see the plugin page.

螢幕截圖

  • An example of the widget in place on my website. Not that title and date are being shown and a custom title is in use.
  • The widget form open and active for editing showing the available options.

安裝

  1. Unpack the zip file.
  2. Upload Gallery2_ImageBlock.php to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Add the G2 ImageBlock widget to an active sidebar from the ‘Display:Widget’ menu.
  5. Configure the Gallery2 URL option to match your Gallery install. Do not include main.php or the trailing slash.
  6. Save your sidebar changes and view your new Image Block!

常見問題

What options have been tested?

RandomImage and DailyImage blocks have been tested along with both at once (using the pipe ‘|’ separator). Title and date ‘show’ options have been tested along with both at once. ‘maxSize’ was also tested.

評價

There are no reviews for this plugin.

貢獻者及開發者

“External Gallery2 Image Block Plugin” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者