Updated gallery page to display thumbnails of items