Generate thumbnails live (also cache them).