Johngeorgesample / pgh-coffee

A guide to coffee in Pittsburgh, PA
https://pgh.coffee
MIT License
13 stars 3 forks source link

Photos are (generally) too big #11

Open Johngeorgesample opened 1 month ago

Johngeorgesample commented 1 month ago

Issue image

The size of these folders is pretty egregious when you consider the only thing these photos are used for is a ~224px header.

How to resolve this Using https://squoosh.app/, resize each image to something reasonable (750px) and make the quality 75%. No image should be more than 250kb.

cgg-cmu commented 2 weeks ago

Is the intent to optimize what's currently in the project or create an automatic solution. (e.g. processing during build or using the Image component? Sounds like crushing the current media right?

Def could knock out a batch conversion if that's all this is looking for now

Johngeorgesample commented 2 weeks ago

That'd be great! You got it, all I want to close this is for the existing images to be resized.