Added search for gallery