implementation of places gallery display in search page