add pageIndex on the footer

add pageIndex on the footer when photo count>1.