The plugin NGG Smart Image Search provides a shortcode [hr_SIS_display_images] to display the result list of an image search. The result list can be displayed either as an image list with meta-informations for each image or as a gallery. The type of display is determined by the shortcode parameter display.
display as a single image list
display=“si“ or diplay=“ngg_single_image“ will display the result list as a single image list. The short version is meant to be used as a dynamic parameter in the search field. The long version is meant to be used in the display shortcode
[hr_SIS_display_images display=“ngg_single_image“]
for better readability. The resulting output will look like
The list shows icons of the found images together with some meta-information. The gallery id will link to the NextGEN backend view of the gallery (if the current user is authorized to edit that gallery). The gallery name will link to the corresponding gallery page (if such a page is defined in the NextGEN gallery backend).
Clicking on an image icon will open the original NextGEN single image display lightbox (therefore the display type name starts with a „ngg_….“ prefix). You cannot skip through the result list with an open lightbox, as this is a single image display. You have to close the lightbox before chosing a different image for the lightbox display.
There is a second type of display for this single image result list:
display=“li“ or display=“linked_image“
The result list will look the same as above. However, it does not use the original NextGEN single image shortcode but directly coded links to the images. If NextGEN gallery is configured to show linked images in the standard NextGEN lightbox, then you can now skip through the images in that lightbox.
display as a basic thumbnail gallery
display=“bt“ or display=“ngg_basic_thumbnails“ will display the search result list as a NextGEN basic thumbnail gallery (therefore the prefix „ngg_…“).
display as an advanced thumbnail gallery
display=“at“ or display=“advanced_thumbnails“ will display the search result list like a thumbnail gallery. As with the display type „linked_images“ above, the advanced thumbnails are directly coded image links which will use the NextGEN lightbox, if NextGEN is configured to use its lightbox for linked images.
In addition the thumbnails will show up in a grid with images showing the correct side relations. For each image the image title is listed beneath the image.
display as a pro thumbnail gallery
display=“pt“ or display=“ngg_pro_thumbnails“ will display the search result list as a NextGEN pro thumbnail gallery (therefore the prefix „ngg_…“). Of course it is necessary that either the premium extension NextGEN Gallery Plus or NextGEN Gallery Pro is installed.
display as a pro mosaic gallery
display=“mo“ or display=“ngg_pro_mosaic“ will display the search result list as a NextGEN pro masonry gallery (therefore the prefix „ngg_…“). Of course it is necessary that either the premium extension NextGEN Gallery Plus or NextGEN Gallery Pro is installed.
display as a pro masonry gallery
display=“ma“ or display=“ngg_pro_masonry“ will display the search result list as a NextGEN pro masonry gallery (therefore the prefix „ngg_…“). Of course it is necessary that either the premium extension NextGEN Gallery Plus or NextGEN Gallery Pro is installed.