Add previous_photo and next_photo links