This is an example of a site with a large DB (~ 10 M galleries here)
We still have categories just to prove the script can handle it
We have search box at the top of each page
bla bla bla bla bla
bla bla bla bla bla
bla bla bla bla bla
Larry Came On Christmas Eve To Take Care Of Barbara. Barbara Had Met Him A Few Weeks Before And Within Twenty Minutes Of Meeting Him They Were Fucking. They Fuck Quite A Lot These Days. :-)