mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-07-18 00:44:29 -05:00
The landing page and the vol1/vol2 book pages rendered the hardcover images from 867x1110 PNGs (~1.2-1.3 MB each) into a slot capped at 240px wide. Generate full-resolution WebP (q85, 78/88 KB) and point the on-page <img> tags at them, cutting cover page-weight ~94% with no visible quality or resolution loss. The original PNGs are kept as high-res masters and remain the og:image / twitter:image for social scrapers.