loculus-project / loculus

An open-source software package to power microbial genomic databases
https://loculus.org
GNU Affero General Public License v3.0
34 stars 1 forks source link

feat(website): resize images to max-size used in website #2725

Closed corneliusroemer closed 1 week ago

corneliusroemer commented 1 week ago

Add script process_images.sh that allows recompressing in the future if new organisms are added.

Implementing this recommendation from Google's PageSpeedInsights: https://pagespeed.web.dev/analysis/https-pathoplexus-org/gnxkqyl8t4?form_factor=mobile

Brave Browser 2024-09-08 22 47 55

preview URL: https://smaller-images.loculus.org

Summary

Screenshot

PR Checklist

theosanderson commented 1 week ago

Just to warn you - we probably actually need to host the images elsewhere: #2500

corneliusroemer commented 1 week ago

2500 is orthogonal and this PR here won't break anything afaict, let's separate the discussions? Does something prevent you from approving @theosanderson?