Gallery: number of thumbnails per row attribute