Many many people requested a search function for NextGEN Gallery. Although a couple of plugins like Search Unleashed crawl already the content of a gallery, the best solution would a list of images as search result. Why is this such a problem for me and not already includes years before ?
The search injection is not that problem, but it needed always a new template or a redirection to a gallery template which maybe doesn’t fit to your theme layout. I never found the best way, but here is one first try. I’ve create a small addon plugin. You just need to activate it, it has no parameter or settings.
Now you must add to your theme the follow function :
<?php if ( function_exists( 'ngg_images_results' ) ) ngg_images_results(); ?>
This little code return the image search result for the standard search widget from WordPress. Example here : http://nextgen-gallery.com/?s=cologne
UPDATE : I’ve a added the search for tags , there are still the issue with the pagination… but Im working on it.
Should be fixed now with Version 0.7.0, you need as well this update until NGG V1.8.0 is released
You can download the code and a modified search.php for the default theme here :
Download NextGEN Search Engine 0.7.0
Test version @ Google Code