Optimize images for performance (Phase 4)#44
Merged
Conversation
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
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.