Integrate Thumbnail view of gallery