add board_photo numbering function.