Generate thumbnails and HTML indexes