Update md_photo.php

profile integration