my sample object oriented php photo gallery