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.
- Upload the
nextgen-gallery-image-chooserdirectory to the
- Activate the plugin through the ‘Plugins’ menu in WordPress
- In the visual editor, you will find a new NGG button which allows adding albums, galleries and images to the post
Contribuidores e programadores
“NextGEN Gallery Image Chooser” é software de código aberto. As seguintes pessoas contribuíram para este plugin:Contribuidores
Interessado no desenvolvimento?
Registo de alterações
- Adapted js to image tag without closing slash
- Fixed errors with NextGEN Gallery versions greater than 2.0.66
- Fixed problems with special chars (especially double quotation marks) in album or gallery titles
- Fixed minor HTML error (missing blank)
- Added settings page
- Harmonized internationalization (use WordPress functionality instead of own gettext)
- Plugin now honors WordPress language settings
- 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
- Added template, mode and link options to NGG tags
- Added quotation marks to user entered options
- Added locale support and German translation
- Initial version