display photo index as matrix