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

NextGEN Gallery Image Chooser

外掛說明

NextGEN Gallery (NGG) is an excellent gallery for WordPress. Its major drawback, as far as I’m concerned, is the minimalistic image chooser. So I’ve taken the liberty to adapt the equally excellent g2image image chooser, which also is embedded in the WPG2 connector to Gallery2.

This image chooser allows to browse through hierarchical albums and galleries, insert NGG tags for albums and galleries, as well as NGG and HTML tags for one or more images and thumbnails at a time.

  • On the left side of the image chooser pop-up there is the tree view of all albums and galleries. On the top are the albums and their galleries, then follow the galleries, which are not attached to any album.
  • On the upper right side there are the controls to insert the tags with their relevant options. Depending on which insert mode (NGG or HTML tag, image or thumbnail) is selected, only the relevant options are shown.
  • Below the controls, the thumbnails of the images in the selected gallery are shown, optionally together with their title, summary and description. There multiple images can be selected for insertion.

At present, the NGG tags [album], [nggallery], [thumb], [singlepic], and [imagebrowser], plus some html links are supported.

Default settings can be altered on the settings page.

NOTE: This plugin does not work with the new Gutenberg editor. There now is a new plugin that allows you to insert NGG tags for images, galleries and albums as Gutenberg blocks: Image Chooser Block for NextGEN Gallery.
Alternatively you can switch to the classic editor, e.g. by using the Classic Editor plugin.

At this time, the image chooser is available in English (default) and German. Other translations are welcome and will be included in the next release.

螢幕擷圖

  • "Add new post" page with NextGEN Gallery Image Chooser button.
  • Image Chooser page for album (without images).
  • Image Chooser page for gallery (with images). Options for the [singlepic] tag are displayed.
  • Image Chooser page for gallery (with images). Options for the [thumb] tag are displayed.

安裝方式

  1. Upload the nextgen-gallery-image-chooser directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. In the visual editor, you will find a new NGG button which allows adding albums, galleries and images to the post

常見問題集

None yet.

使用者評論

2019 年 12 月 21 日 1 reply
I have a gallery that is mostly about events/things we've done. I want to blog about them and insert a few images here and there directly into the text, which you would normally do by INSERT IMAGE from the Media Library, which would also let you select multiples. NGG doesn't seem to have an option to do that EXCEPT as a gallery, but then I wouldn't be able to write paragraphs of text between them. I'd like to be able to add the full gallery at the bottom of the post, but throughout, I want 3-5 images just inserted. In NGG and even Pro version, you can't tag and insert multiple images as just images at once, you have to select it multiple times. This plugin does it perfeclty, AND degrades gracefully -- if you delete the plugin later, your inserts still work.
閱讀全部 3 則使用者評論

參與者及開發者

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

參與者

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

對開發相關資訊感興趣?

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

變更記錄

1.1.1

  • Adapted js to image tag without closing slash

1.1.0

  • Fixed errors with NextGEN Gallery versions greater than 2.0.66

1.0.1

  • Fixed problems with special chars (especially double quotation marks) in album or gallery titles
  • Fixed minor HTML error (missing blank)

1.0.0

  • Added settings page
  • Harmonized internationalization (use WordPress functionality instead of own gettext)
  • Plugin now honors WordPress language settings

0.1.0

  • Added [imagebrowser] tag
  • Disabled insert button for root element of the gallery tree
  • Added placeholder image when inserting [album] tag
  • Created different placeholder images for albums, galleries and images/thumbnails
  • Removed hard link to the TinyMCE editor_plugin.js file
  • Added screenshots

0.0.2

  • Added template, mode and link options to NGG tags
  • Added quotation marks to user entered options
  • Added locale support and German translation

0.0.1

  • Initial version