Change photo page to php

Change photo page to php
Add photo edit page