click photos into layout