This is the photo gallery that I personally use. I always post 800 by 600 high to medium quality jpegs that I optimise for the web using photoshop. I also always make my thumbnails 100 by 100. You can visit my photo gallery here. I usually put my source code in a text box, this time however, I am just putting up the MySQL code required to set up the back-end.