A PHP script that mimics the math behind the Google Images gallery.