build thumbnail gallery in art page