NGG Smart Image Search

By wpo-HR

★ 4.9/5 (13 ratings)400+ active installationsVersion 4.1.0

NGG Smart Image Search provides smart search and display functionalities for images in NextGEN galleries. It requires NextGEN Gallery to be installed …

Description

NGG Smart Image Search provides smart search and display functionalities for images in NextGEN galleries. It requires NextGEN Gallery to be installed and activated.

Version 4 is a highly recommended functional and security update. It is a complete revision introducing Gutenberg blocks, new display modes, improved documentation and many optimizations. Previous documentation pages remain valid unless updated.

More information and examples:
Homepage for Plugin NGG Smart Image Search

Searches can be performed across title, description, filename and tags. Two search modes are available: basic (OR) and extended (AND).

Search results can be displayed in various layouts:

  • linked image lists with meta data
  • advanced thumbnail lists
  • advanced mosaic layouts
  • single image inspection
  • fancybox v6 lightbox with EXIF display
  • paging, sorting, limiting
  • native NextGEN / Pro / Plus galleries

Search input can be provided via:

  • Gutenberg block
  • URL parameter
  • legacy shortcode
  • legacy widget

Extended documentation:
https://r-fotos.de/wordpress-plugins/nextgen-galleries-smart-image-search/new-functionalities-v4/

Installation

  1. Upload ngg-smart-image-search to /wp-content/plugins/.
  2. Activate the plugin.
  3. Replace legacy shortcodes and widgets with Gutenberg blocks.
  4. Update or replace the standard search page.

Update to NGG Smart Image Search 4 versions

Please read the documentation:
https://r-fotos.de/wordpress-plugins/nextgen-galleries-smart-image-search/install-upgrade-to-v4/

FAQ

How does the search work?

There are four ways to perform a search:

  1. Dynamic Gutenberg search block.
  2. URL parameter sngg.
  3. Static searchstring in the display block.
  4. Legacy widget or shortcode.

Extended documentation:
https://r-fotos.de/wordpress-plugins/nextgen-galleries-smart-image-search/new-functionalities-v4/the-search-process/

How can a search be customized?

You can customize:

  • searchable fields
  • included/excluded galleries and albums
  • sort order
  • result limits
  • separate settings for public vs. logged-in users

All parameters can be configured via Gutenberg block or widget.

How can the result list be customized?

Display options:

  • display="li" linked images
  • display="at" advanced thumbnails
  • display="am" advanced mosaic
  • display="si" NextGEN single images
  • display="bt" Basic Thumbnail Gallery
  • display="pt" Pro Thumbnail Gallery
  • display="ma" Pro Masonry Gallery
  • display="mo" Pro Mosaic Gallery

Additional parameters: sort order, paging, limits.

Extended documentation:
https://r-fotos.de/wordpress-plugins/nextgen-galleries-smart-image-search/new-functionalities-v4/image-display/

What search strings can be entered?

Basic mode: whitespace-separated terms (OR).
Extended mode: &, &-, &t, &t- separated terms (AND).

Special extended search options:

  • g:{gallery_id} select images from specified gallery
  • a:{album_id} select images from specified album
  • r:{number} select a number of recent images
  • l:{number} select a number of last uploaded images (with largest picture ID)
  • i:{picture_id} inspect single specified image
  • u:{user_id} select images uploaded by specified user

A search string can have escape characters at the beginning to switch between basic and extended mode, and escape options at the end to switch display modes.

Extended documentation:
https://r-fotos.de/wordpress-plugins/nextgen-galleries-smart-image-search/new-functionalities-v4/image-display/

Screenshots

Changelog

4.1.0

Error fix and update (2026-10-27)

  • FIX: Fancybox Display in Gutenberg block Editor fixed due to WP 7.1 Change of Editor iframe handling
  • Updated: Fancybox updated to 6.1.15

4.0.1

Fatal error fix (2026-08-17)

  • FIX: Fatal error fix, if hosting provider does not support shell_exec function for perl exiftool execution

4.0.0

Major functional and security update (2026-08-08)

  • NEW: Gutenberg blocks to define searches and display result lists
  • NEW: Liveview support for WordPress 6.3+ and 7
  • NEW: Advanced Mosaic display with fancybox viewer
  • NEW: Image inspection display
  • NEW: security checks supported by anthrophic opus 5
  • Updated: Fancybox updated to 6.1.14
  • Updated: Fancybox code loaded dynamically only when needed
  • Updated: Exiftool updated to 13.57
  • Updated: More customization for Advanced Thumbnails
  • Updated: Many minor optimizations

3.4.3

Security update (2025-06-17)

  • Fixed: SQL injection vulnerability in hidden browser parameter
  • Fixed: HTML formatting issues for paged search results

3.4.1

Enhancement + security (2025-05-04)

  • NEW: Exiftool integration for EXIF display
  • NEW: Extended display types lix and atx
  • Updated: Default display changed to linked-images
  • Fixed: Security issue with unsanitized shortcode parameter

3.3.3

Error fix (2025-02-03)

  • Fixed: Thumbnail and filename addresses incorrect with redirection

3.3.2

Enhancement + security (2025-02-02)

  • NEW: URL parameter ?sngg=
  • NEW: Search variable a:{album-id}
  • NEW: Search variable u:{user-id}
  • Updated: Fancybox 5.0 included locally
  • Fixed: Security issue with unsanitized shortcode parameter

3.2.1

Error fix (2024-02-27)

  • Fixed: Widget parameters not passed correctly

3.2.0

Maintenance update (2024-02-24)

  • Enhanced: Advanced thumbnail and linked image display
  • Enhanced: Wrapper for shortcode searchbox
  • Fixed: Modernizr.Canvas removed
  • Fixed: Searchbox crash with wptexturize
  • Fixed: NextGEN thumbnail name changes
  • Fixed: Minor PHP warnings
  • Remarks: Searchbox styling depends heavily on theme CSS

3.1

Maintenance update (2019-04-17)

  • Fixed: Javascript compatibility issues
  • Fixed: Minor issues
  • Remarks: Searchbox styling depends heavily on theme CSS

3.0

Major release (2018-12-11)

  • NEW: Paging for search results
  • NEW: Basic search mode
  • NEW: Support for all NextGEN native galleries
  • NEW: Support for NextGEN e-commerce
  • NEW: New sort options
  • NEW: Target parameter for shortcode
  • Enhanced: Thumbnail and searchbox customization
  • Enhanced: Settings page
  • Fixed: Landing page duplication issues