Hi - thanks for an amazing product.
I'm a newcomer and have about a thousand screenshots I need to import into a group of 9 sites I'm building. The screenshots respond very well to lossless compression. For example, I'll paste a 1309 x 982 image below that I can compress down to 18 KB using lossless compression.
With 1000 images, I'd like to avoid having to input the height and width manually to avoid cumulative layout shift. Is there a way to use the Image component but have it not modify the image file? For example, could I hack the Default Image Service so it doesn't modify the image file?
My current best idea is to import the images and then use the properties of the imported images to avoid cumulative layout shift. Here's my best draft so far:
import FidelityBalance from './img/outline/FidelityBalance.png';
<img src={FidelityBalance.src} width={FidelityBalance.width} height={FidelityBalance.height} loading="lazy" decoding="async" alt="The balance sheet of Fidelity Fiduciary Bank.">