limit on index
Photo constraint