add photo index