view painitns on index