A PHP/Javascript script that will convert  a folder into a gallery