photo gallery bug fix

removed identifier(); function which does not exist. photo gallery fine
now.