add thumbs and gallery preview