test photos.php