viewphoto.php almost finished. Edit caption function is half way.