display jpgs across as a grid