Skip to content

Optimize images for performance (Phase 4)#44

Merged
sr320 merged 1 commit into
mainfrom
design-tokens-consolidation
Jun 20, 2026
Merged

Optimize images for performance (Phase 4)#44
sr320 merged 1 commit into
mainfrom
design-tokens-consolidation

Conversation

@sr320

@sr320 sr320 commented Jun 20, 2026

Copy link
Copy Markdown
Member

Cut img/ from 44 MB to 12 MB by resizing/recompressing images that actually load on the site and removing unreferenced dead weight.

Referenced images:

  • Hero (lab-photo-02): 2.0 MB PNG -> 292 KB JPEG, max 1500px
  • Crandall headshot: 4.0 MB / 4032px -> 56 KB (displays at 150px)
  • Roberts06 headshot trimmed to 56 KB
  • DEI banner photo: 2.5 MB -> 644 KB, max 1600px
  • cod project image: PNG photo -> 132 KB JPEG
  • web-projects screenshots (dive/ocean/public-omics-watchtower): 1.4-1.6 MB each -> 320-492 KB, resized 1024px -> 600px
  • Post photos (asi/pw/bucket/enrich): PNG -> JPEG, ~300-600 KB each
  • marineomics: 640 KB -> 300 KB

Photographic PNGs converted to JPEG and their references updated (index.qmd, research/cod.qmd, 5 post index.qmd files).

Removed unreferenced files not loaded by any page (raven.gif, os.png, osbw.png, lab-photo-01.JPG). Kept lab-photo-20250213-unedited.JPG as a master original per request.

Verified: all affected pages re-rendered; all optimized images return 200 with no broken links; hero/headshots/cards confirmed crisp in preview.

Cut img/ from 44 MB to 12 MB by resizing/recompressing images that
actually load on the site and removing unreferenced dead weight.

Referenced images:
- Hero (lab-photo-02): 2.0 MB PNG -> 292 KB JPEG, max 1500px
- Crandall headshot: 4.0 MB / 4032px -> 56 KB (displays at 150px)
- Roberts06 headshot trimmed to 56 KB
- DEI banner photo: 2.5 MB -> 644 KB, max 1600px
- cod project image: PNG photo -> 132 KB JPEG
- web-projects screenshots (dive/ocean/public-omics-watchtower):
  1.4-1.6 MB each -> 320-492 KB, resized 1024px -> 600px
- Post photos (asi/pw/bucket/enrich): PNG -> JPEG, ~300-600 KB each
- marineomics: 640 KB -> 300 KB

Photographic PNGs converted to JPEG and their references updated
(index.qmd, research/cod.qmd, 5 post index.qmd files).

Removed unreferenced files not loaded by any page (raven.gif, os.png,
osbw.png, lab-photo-01.JPG). Kept lab-photo-20250213-unedited.JPG as a
master original per request.

Verified: all affected pages re-rendered; all optimized images return
200 with no broken links; hero/headshots/cards confirmed crisp in preview.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@sr320 sr320 merged commit 004e7f3 into main Jun 20, 2026
1 check passed
@sr320 sr320 deleted the design-tokens-consolidation branch June 20, 2026 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant