There isn't a simple way to use PowerGallery to display these dynamically searched images. You might be able to get this working if you added all the images to one gallery and modified the query that got the images to only return the ones that were part of the search, but customization like that isn't supported, so you would have to implement it yourself.