Adding the first version of the photo gallery php