The photo is perfect: good light, good framing and exactly the mood you wanted. Then you look at the file and it weighs several megabytes. Before settling for a blurry image, there is a simple experiment worth trying.
A tool that lives in your browser
Squoosh is an open-source application from GoogleChromeLabs for compressing images in different formats. According to its repository, compression happens on your device and the image is not sent to a server. The project does disclose Google Analytics for some usage data, including the before-and-after file sizes. GoogleChromeLabs · Squoosh repository
An experiment for your next photo
Try a copy of an image from your portfolio. Compare a lighter version with the original and look at three things: edges, small lettering and sky gradients. They are useful places to spot when an adjustment has gone too far.
The best number is the one that leaves the image looking the way you want.
There is no need to chase a spectacular percentage. A product photo deserves to keep its texture; a soft background may tolerate more changes. Keep the original and also compare at the size the image will appear on the page. It is a small detail, but part of caring for a website.
You can open the tool here: Open Squoosh ↗
