modify the photo index page