Hey guys, I just wanted some help with my simple php gallery. It was quite popular back then, but support and development is gone for it now. I just wanted to tweak my thumbnails page so that it would only display a certain number of thumb nails and on the bottom of the page have a page navigation like <1 2 3 4 5 6 7> sort of thing. Here are the files:

Simple Php gallery files
fully implemented here (probably dont need to see this, but the css styling is fully in use so it might be easier for you to visualize?)