[main] Finished the feature: generate mosaic on page.