Impleted delete photo db query and added editphoto.pl page.